Repository: stratos Updated Branches: refs/heads/master d2135b32a -> 46441b028
fix the cannot leave startup order in UI [STRATOS-1243] Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/46441b02 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/46441b02 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/46441b02 Branch: refs/heads/master Commit: 46441b02847a671dc9510a0cf21f33e8cea026f3 Parents: d2135b3 Author: Dakshika Jayathilaka <[email protected]> Authored: Mon May 4 08:11:32 2015 +0530 Committer: Dakshika Jayathilaka <[email protected]> Committed: Mon May 4 08:11:32 2015 +0530 ---------------------------------------------------------------------- .../themes/theme0/js/custom/applications-editor.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/46441b02/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js index 7f58601..ea29755 100644 --- a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js +++ b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js @@ -646,7 +646,8 @@ var applicationBlockTemplate = { "id": "root/dependencies/startupOrders/0", "type": "string", "title": "Order", - "name": "Order" + "name": "Order", + "default":"group.my-group1,cartridge.my-c4" } }, "scalingDependents": { @@ -659,7 +660,8 @@ var applicationBlockTemplate = { "id": "root/dependencies/scalingDependents/0", "type": "string", "title": "Dependent", - "name": "Dependent" + "name": "Dependent", + "default":"group.my-group1,cartridge.my-c4" } }, "terminationBehaviour": { @@ -680,10 +682,10 @@ var applicationBlockDefault = { "multiTenant": false, "dependencies": { "startupOrders": [ - "group.my-group1,cartridge.my-c4" + ], "scalingDependents": [ - "group.my-group1,cartridge.my-c4" + ], "terminationBehaviour": "terminate-dependents" }
