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

@@ -249,7 +249,7 @@ var RED = (function() {
]},
null,
{id:"btn-keyboard-shortcuts",icon:"fa fa-keyboard-o",label:"Keyboard Shortcuts",onselect:showHelp},
{id:"btn-help",icon:"fa fa-question",label:"Help...", href:"http://node-red.github.io/docs"}
{id:"btn-help",icon:"fa fa-question",label:"Help...", href:"http://nodered.org/docs"}
]
});

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");
}
}