You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by lq...@apache.org on 2016/06/20 12:54:12 UTC
svn commit: r1749327 -
/qpid/java/branches/6.0.x/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addStore.js
Author: lquack
Date: Mon Jun 20 12:54:12 2016
New Revision: 1749327
URL: http://svn.apache.org/viewvc?rev=1749327&view=rev
Log:
QPID-7290: [Java Broker, WMC] Corrected title of Add and Edit TrustStore dialogue
Modified:
qpid/java/branches/6.0.x/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addStore.js
Modified: qpid/java/branches/6.0.x/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addStore.js
URL: http://svn.apache.org/viewvc/qpid/java/branches/6.0.x/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addStore.js?rev=1749327&r1=1749326&r2=1749327&view=diff
==============================================================================
--- qpid/java/branches/6.0.x/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addStore.js (original)
+++ qpid/java/branches/6.0.x/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addStore.js Mon Jun 20 12:54:12 2016
@@ -94,7 +94,14 @@ define(["dojo/_base/lang",
}
this.storeName.set("disabled", effectiveData == null ? false : true);
this.storeType.set("disabled", effectiveData == null ? false : true);
- this.dialog.set("title", effectiveData == null ? "Add Key Store" : "Edit Key Store - " + effectiveData.name)
+ if (effectiveData == null)
+ {
+ this.dialog.set("title", "Add " + this.category);
+ }
+ else
+ {
+ this.dialog.set("title", "Edit " + this.category + " - " + effectiveData.name);
+ }
this.dialog.show();
},
_initFields:function(data)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org