Author: orudyy
Date: Tue Nov 24 16:58:20 2015
New Revision: 1716209
URL: http://svn.apache.org/viewvc?rev=1716209&view=rev
Log:
QPID-6878: [Java Broker] Enable Edit button when BDB VHN state is STOPPED or
ERRORED
Modified:
qpid/java/trunk/bdbstore/src/main/java/resources/js/qpid/management/virtualhostnode/bdb/show.js
Modified:
qpid/java/trunk/bdbstore/src/main/java/resources/js/qpid/management/virtualhostnode/bdb/show.js
URL:
http://svn.apache.org/viewvc/qpid/java/trunk/bdbstore/src/main/java/resources/js/qpid/management/virtualhostnode/bdb/show.js?rev=1716209&r1=1716208&r2=1716209&view=diff
==============================================================================
---
qpid/java/trunk/bdbstore/src/main/java/resources/js/qpid/management/virtualhostnode/bdb/show.js
(original)
+++
qpid/java/trunk/bdbstore/src/main/java/resources/js/qpid/management/virtualhostnode/bdb/show.js
Tue Nov 24 16:58:20 2015
@@ -32,6 +32,7 @@ define(["qpid/common/util", "dojo/domRea
BdbNode.prototype.update=function(data)
{
util.updateUI(data, fieldNames, this);
+ this.parent.editNodeButton.set("disabled", !(data.state == "STOPPED" ||
data.state == "ERRORED"));
};
return BdbNode;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]