amalgame/commit
rename evaluate button to manual edit in case the node is already the evaluation node
author | Jacco van Ossenbruggen |
---|---|
Mon Aug 11 11:16:50 2014 +0200 | |
committer | Jacco van Ossenbruggen |
Mon Aug 11 11:16:50 2014 +0200 | |
commit | df5094646b0fb905cc6d789389745a9c036895a0 |
tree | 5c08463e1d4bc641c37847d621cd18fe7b386fc5 |
parent | e2bd101e8fa50f6993138a23175eaf0af63ca8c6 |
Diff style: patch stat
diff --git a/web/js/infobox.js b/web/js/infobox.js index 236a6ff..65704b5 100644 --- a/web/js/infobox.js +++ b/web/js/infobox.js @@ -232,6 +232,7 @@ YUI.add('infobox', function(Y) { // more mapping only things: if (type == "mapping") { + NODE_EVAL.setContent("evaluate"); NODE_EVAL.removeClass("hidden"); NODE_ABBREV.removeClass("hidden"); Y.all('span.abbrev').removeClass("hidden"); @@ -249,6 +250,7 @@ YUI.add('infobox', function(Y) { NODE_DELETE.setAttribute("disabled", true); } else if (status.search('reference') > -1) { NODE_DELETE.setAttribute("disabled", true); + NODE_EVAL.setContent("manual edit"); } // hide the parameter form submit button in case we are not a process