Bug Fix #55: Updating device batch when unassigned

This commit is contained in:
Gary Sharp
2014-07-07 10:19:52 +10:00
parent 83e9b7a832
commit 5013fa27bd
2 changed files with 74 additions and 70 deletions
@@ -524,7 +524,9 @@
});
}
dialogInputs.filter('[data-devicebatchid=' + currentBatch + ']').prop('checked', true).change();
if (!!currentBatch) {
dialogInputs.filter('[data-devicebatchid=' + currentBatch + ']').prop('checked', true).change();
}
buttonDialog.dialog('open');
return false;