You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2014/11/20 12:33:40 UTC
[6/7] stratos git commit: fix dependancy data listing view
fix dependancy data listing view
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/069d4f70
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/069d4f70
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/069d4f70
Branch: refs/heads/master
Commit: 069d4f70a8280378f46c9b79fa078a2ee1924ff1
Parents: c3e8b41
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Thu Nov 20 16:52:30 2014 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Thu Nov 20 16:52:30 2014 +0530
----------------------------------------------------------------------
.../console/configure_form.jag | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/069d4f70/components/org.apache.stratos.manager.console/console/configure_form.jag
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/configure_form.jag b/components/org.apache.stratos.manager.console/console/configure_form.jag
index 32b228a..621cbbb 100644
--- a/components/org.apache.stratos.manager.console/console/configure_form.jag
+++ b/components/org.apache.stratos.manager.console/console/configure_form.jag
@@ -94,12 +94,13 @@ switch (formtype) {
case "deployments":
list_data = util.RESTCalls.getPolicyDeployment();
-
- if(list_data == 'null') {
+ if(list_data == null) {
list_data = util.RESTCalls.getPartitions()
if(list_data.partition && list_data.partition.length === 0){
list_data = null;
dependancy = 'partitions';
+ }else{
+ list_data = null;
}
}
break;