qpid-broker-j git commit: QPID-7886: [Java Broker] Hide download iframe

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

qpid-broker-j git commit: QPID-7886: [Java Broker] Hide download iframe

orudyy
Repository: qpid-broker-j
Updated Branches:
  refs/heads/master b7ee49ded -> 6837975b7


QPID-7886: [Java Broker] Hide download iframe


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/6837975b
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/6837975b
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/6837975b

Branch: refs/heads/master
Commit: 6837975b7f4126fd6a3cb1f1c3a50913e5a3fd6d
Parents: b7ee49d
Author: Alex Rudyy <[hidden email]>
Authored: Fri Aug 11 16:15:38 2017 +0100
Committer: Alex Rudyy <[hidden email]>
Committed: Fri Aug 11 16:15:38 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/resources/js/qpid/management/Management.js        | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/6837975b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/Management.js
----------------------------------------------------------------------
diff --git a/broker-plugins/management-http/src/main/java/resources/js/qpid/management/Management.js b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/Management.js
index a2af583..2a03bd5 100644
--- a/broker-plugins/management-http/src/main/java/resources/js/qpid/management/Management.js
+++ b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/Management.js
@@ -353,6 +353,7 @@ define(["dojo/_base/lang",
             var url = this.buildObjectURL(modelObj, parameters, operation);
             var iframe = document.createElement('iframe');
             iframe.id = "downloader_" + modelObj.name;
+            iframe.style.display = "none";
             document.body.appendChild(iframe);
             iframe.src = url;
             // It seems there is no way to remove this iframe in a manner that is cross browser compatible.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...