Skip to content

Commit

Permalink
correctly recall nut driver in config rockstor#1073 rockstor#1094
Browse files Browse the repository at this point in the history
  • Loading branch information
phillxnet committed Jan 12, 2016
1 parent 40e48bf commit 81f1c5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ ConfigureServiceView = RockstorLayoutView.extend({
_this = this;
var nutDriverTypes = ['apcsmart','apcsmart-old','apcupsd-ups','bcmxcp','bcmxcp_usb','belkin','belkinunv','bestfcom','bestfortress','bestuferrups','bestups','blazer_ser','blazer_usb','dummy-ups','etapro','everups','gamatronic','genericups','isbmex','ivtscd','liebert','liebert-esp2','masterguard','metasys','mge-shut','mge-utalk','microdowell','nutclient','nutdrv_qx','oldmge-shut','oneac','optiups','powercom','powerpanel','rhino','richcomm_usb','riello_ser','riello_usb','safenet','skel','snmp-ups','solis','tripplite','tripplite_usb','tripplitesu','upscode2','usbhid-ups','victronups'];
_.each(nutDriverTypes, function(driver, index) {
if (driver == _this.config.nutdriver) {
if (driver == _this.config.driver) {
html += '<option value="' + driver + '" selected="selected">';
html += driver + '</option>';
} else {
Expand Down

0 comments on commit 81f1c5b

Please sign in to comment.