amalgame/commit
FIXED: remove not so smart activation/closing of generate/partition controls based on the current hint
author | Jacco van Ossenbruggen |
---|---|
Thu Oct 30 18:12:26 2014 +0100 | |
committer | Jacco van Ossenbruggen |
Thu Oct 30 18:12:26 2014 +0100 | |
commit | 206ae126035e68df06db437917b7eadb61cf7c70 |
tree | 33ecd73a4362d98449f4bb736c1237b07bdbe981 |
parent | 7ec9d9ae17b91b5b01749f4860ba6039dda58c51 |
Diff style: patch stat
diff --git a/web/js/infobox.js b/web/js/infobox.js index 18f472d..b9b3e2b 100644 --- a/web/js/infobox.js +++ b/web/js/infobox.js @@ -291,15 +291,6 @@ YUI.add('infobox', function(Y) { NODE_HINT.appendChild('(<a id="exec_hint">just do it</a>)'); // FixMe! can we put the handler once on initialization? Y.one('#exec_hint').on("click", oSelf._onExecHint, oSelf, r.data, r.event); - if (r.data.lastAction && (r.data.lastAction == "generate")) { - Y.one('#generate_control_set').addClass('active'); - Y.one('#select_control_set').removeClass('active'); - Y.log('select -> generate'); - } else if (r.data.lastAction && (r.data.lastAction == "select")) { - Y.one('#select_control_set').addClass('active'); - Y.one('#generate_control_set').removeClass('active'); - Y.log('generate -> select'); - } } } }