Repository: stratos Updated Branches: refs/heads/master acf365735 -> dc527cb58
fix application policy empty view Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/dc527cb5 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/dc527cb5 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/dc527cb5 Branch: refs/heads/master Commit: dc527cb5853939209b9c4c98e5d5c0a14aa4436d Parents: acf3657 Author: Dakshika Jayathilaka <[email protected]> Authored: Wed May 13 11:29:43 2015 +0530 Committer: Dakshika Jayathilaka <[email protected]> Committed: Wed May 13 11:29:43 2015 +0530 ---------------------------------------------------------------------- .../org.apache.stratos.manager.console/console/configure_form.jag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/dc527cb5/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 beeaa56..0d17938 100644 --- a/components/org.apache.stratos.manager.console/console/configure_form.jag +++ b/components/org.apache.stratos.manager.console/console/configure_form.jag @@ -142,7 +142,7 @@ if(isEdit == false && elements.action != 'new') { formTitle = "Application Policy Definition", buttonText = "Application Policy Definition"; list_data = util.RESTCalls.getApplicationPolicies(); - if (list_data && list_data.length === 0) { + if (list_data.status == 'error') { list_data = null; } break;
