diff options
author | Keith Wall <kwall@apache.org> | 2015-02-24 13:20:10 +0000 |
---|---|---|
committer | Keith Wall <kwall@apache.org> | 2015-02-24 13:20:10 +0000 |
commit | e897e38cc360d88dc69ab8c5f911f02dab18cd0b (patch) | |
tree | 08a0d7211c68df828c580795e56b63179ff14e38 /qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/preferencesprovider/filesystempreferences/show.js | |
parent | e1c2dac46c9b7b8e28be8c56e683bd49b4870652 (diff) | |
download | qpid-python-e897e38cc360d88dc69ab8c5f911f02dab18cd0b.tar.gz |
QPID-6398: [Java Broker] Update web management console UI to invoke dojo parser.parse as a promise due to changes in dojo 1.8 causing the parser to run in asynchronous fashion in some cases
svn merge -c 1661166 https://svn.apache.org/repos/asf/qpid/trunk
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.32@1661935 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/preferencesprovider/filesystempreferences/show.js')
-rw-r--r-- | qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/preferencesprovider/filesystempreferences/show.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/preferencesprovider/filesystempreferences/show.js b/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/preferencesprovider/filesystempreferences/show.js index 46dedcc9f5..660b6673f2 100644 --- a/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/preferencesprovider/filesystempreferences/show.js +++ b/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/preferencesprovider/filesystempreferences/show.js @@ -32,8 +32,10 @@ define(["dojo/_base/xhr", sync: true, load: function(template) { containerNode.innerHTML = template; - parser.parse(containerNode); - that.preferencesProviderPath=query(".fileSystemPreferencesProviderPath", containerNode)[0]; + parser.parse(containerNode).then(function(instances) + { + that.preferencesProviderPath=query(".fileSystemPreferencesProviderPath", containerNode)[0]; + }); }}); } |