diff --git a/editor/js/ui/deploy.js b/editor/js/ui/deploy.js index b8e7ac179..9495d6bb2 100644 --- a/editor/js/ui/deploy.js +++ b/editor/js/ui/deploy.js @@ -1,5 +1,5 @@ /** - * Copyright 2015 IBM Corp. + * Copyright 2016 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -242,8 +242,9 @@ RED.deploy = (function() { } }).done(function(data,textStatus,xhr) { if (hasUnusedConfig) { - RED.notify(RED._("deploy.successfulDeploy")+ - '


You have some unused configuration nodes. Click here to see them

',"success",false,6000); + RED.notify( + '

'+RED._("deploy.successfulDeploy")+'

'+ + '

'+RED._("deploy.unusedConfigNodes")+' '+RED._("deploy.unusedConfigNodesLink")+'

',"success",false,6000); } else { RED.notify(RED._("deploy.successfulDeploy"),"success"); } diff --git a/editor/js/ui/notifications.js b/editor/js/ui/notifications.js index b8d83dd31..af73dab88 100644 --- a/editor/js/ui/notifications.js +++ b/editor/js/ui/notifications.js @@ -1,5 +1,5 @@ /** - * Copyright 2013 IBM Corp. + * Copyright 2013, 2016 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,6 +48,13 @@ RED.notify = (function() { }); }; })(); + $(n).click((function() { + var nn = n; + return function() { + nn.close(); + window.clearTimeout(nn.timeoutid); + }; + })()); if (!fixed) { n.timeoutid = window.setTimeout(n.close,timeout||3000); } diff --git a/editor/js/ui/tab-config.js b/editor/js/ui/tab-config.js index a5f260d38..135aed4a7 100644 --- a/editor/js/ui/tab-config.js +++ b/editor/js/ui/tab-config.js @@ -1,5 +1,5 @@ /** - * Copyright 2013, 2015 IBM Corp. + * Copyright 2013, 2016 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,28 +19,24 @@ RED.sidebar.config = (function() { var content = document.createElement("div"); content.className = "sidebar-node-config" - var toolbar = $('