You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:52:05 UTC
[46/50] brooklyn-ui git commit: clear task details/log when switching
entity in web console
clear task details/log when switching entity in web console
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/fb18aed2
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/fb18aed2
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/fb18aed2
Branch: refs/heads/0.4.0
Commit: fb18aed210fe9caf0bb1d47100b8933cb0882693
Parents: 5550d5a
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Wed Sep 12 01:59:04 2012 -0700
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Wed Sep 12 01:59:04 2012 -0700
----------------------------------------------------------------------
.../web-app/js/console/detail-tab/detail-tabs/activity.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/fb18aed2/usage/web-console/web-app/js/console/detail-tab/detail-tabs/activity.js
----------------------------------------------------------------------
diff --git a/usage/web-console/web-app/js/console/detail-tab/detail-tabs/activity.js b/usage/web-console/web-app/js/console/detail-tab/detail-tabs/activity.js
index 1a9d3e1..fc42157 100644
--- a/usage/web-console/web-app/js/console/detail-tab/detail-tabs/activity.js
+++ b/usage/web-console/web-app/js/console/detail-tab/detail-tabs/activity.js
@@ -52,7 +52,6 @@ Brooklyn.activity = (function(){
selectedTaskData = currentData;
} else if(currentRow.hasClass('row_selected')){
currentRow.removeClass('row_selected');
- clearLog();
break;
}
}
@@ -60,6 +59,8 @@ Brooklyn.activity = (function(){
if (selectedTaskData) {
var logBox=document.getElementById("logbox");
logBox.value = selectedTaskData.detailedStatus;
+ } else {
+ clearLog();
}
}