Update header buttons

This commit is contained in:
Nick O'Leary
2014-08-22 11:07:32 +01:00
parent 7a9696526a
commit ec5aaa5bfb
4 changed files with 81 additions and 29 deletions

View File

@@ -1379,9 +1379,9 @@ RED.view = (function() {
function setDirty(d) {
dirty = d;
if (dirty) {
$("#btn-deploy").removeClass("disabled").addClass("btn-danger");
$("#btn-deploy").removeClass("disabled");
} else {
$("#btn-deploy").addClass("disabled").removeClass("btn-danger");
$("#btn-deploy").addClass("disabled");
}
}