summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Negrea <snegrea@redhat.com>2012-09-07 15:42:58 (GMT)
committerStefan Negrea <snegrea@redhat.com>2012-09-07 15:42:58 (GMT)
commit47f97e620781574cf19e8a9473fc82ccdb8d0833 (patch)
treefaa94de993d38940fd85122297106b8f1328a55d
parent6da6f84c7fd682c5c1e2f3d2c2eedc40989c381a (diff)
downloadrhq-47f97e620781574cf19e8a9473fc82ccdb8d0833.zip
rhq-47f97e620781574cf19e8a9473fc82ccdb8d0833.tar.gz
rhq-47f97e620781574cf19e8a9473fc82ccdb8d0833.tar.xz
[BZ 854903] Corrected the logic to allow creation of resources without configuration.
-rw-r--r--modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/factory/ResourceFactoryConfigurationStep.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/factory/ResourceFactoryConfigurationStep.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/factory/ResourceFactoryConfigurationStep.java
index 538aa7f..1806348 100644
--- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/factory/ResourceFactoryConfigurationStep.java
+++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/resource/factory/ResourceFactoryConfigurationStep.java
@@ -127,7 +127,7 @@ public class ResourceFactoryConfigurationStep extends AbstractWizardStep impleme
@Override
public boolean isNextButtonEnabled() {
- return (editor != null) && editor.isValid();
+ return (editor == null) || ((editor != null) && editor.isValid());
}
public boolean nextPage() {