You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2013/08/05 20:47:22 UTC
git commit: AMBARI-2805. Background Operation shows HTML markup in
some situations. (Andrii Babiichuk via yusaku)
Updated Branches:
refs/heads/trunk 662f92524 -> b9ac10628
AMBARI-2805. Background Operation shows HTML markup in some situations. (Andrii Babiichuk via yusaku)
Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/b9ac1062
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/b9ac1062
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/b9ac1062
Branch: refs/heads/trunk
Commit: b9ac106280c692e750e2720bfb0896480f390d4e
Parents: 662f925
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Mon Aug 5 11:47:09 2013 -0700
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Mon Aug 5 11:47:09 2013 -0700
----------------------------------------------------------------------
ambari-web/app/utils/host_progress_popup.js | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/b9ac1062/ambari-web/app/utils/host_progress_popup.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/host_progress_popup.js b/ambari-web/app/utils/host_progress_popup.js
index f26c778..3872ba4 100644
--- a/ambari-web/app/utils/host_progress_popup.js
+++ b/ambari-web/app/utils/host_progress_popup.js
@@ -753,6 +753,9 @@ App.HostPopup = Em.Object.create({
* Onclick handler for selected Task
*/
openTaskLogInDialog: function () {
+ if ($(".task-detail-log-clipboard").length > 0) {
+ this.destroyClipBoard();
+ }
var newWindow = window.open();
var newDocument = newWindow.document;
newDocument.write($(".task-detail-log-info").html());
@@ -779,6 +782,9 @@ App.HostPopup = Em.Object.create({
toggleTaskLog: function (event, context) {
var taskInfo = event.context;
this.set("isLogWrapHidden", false);
+ if ($(".task-detail-log-clipboard").length > 0) {
+ this.destroyClipBoard();
+ }
this.set("isHostListHidden", true);
this.set("isTaskListHidden", true);
this.set('openedTaskId', taskInfo.id);