Repository: incubator-stratos Updated Branches: refs/heads/master a1f2609a9 -> 05546f98e
Fix for issue STRATOS-587 Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/40a7fd2d Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/40a7fd2d Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/40a7fd2d Branch: refs/heads/master Commit: 40a7fd2da7dfec5f092b6449c189503e8abac0ca Parents: 94c9115 Author: Chanaka Jayasena <[email protected]> Authored: Wed Apr 9 10:53:38 2014 +0530 Committer: Chanaka Jayasena <[email protected]> Committed: Wed Apr 9 10:53:38 2014 +0530 ---------------------------------------------------------------------- .../console/themes/theme1/ui/js/tenant_management.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/40a7fd2d/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js index aceb2c0..8c87065 100644 --- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js +++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js @@ -30,10 +30,10 @@ $(function(){ $( "#newTenantForm" ).validate({ rules: { - adminPassword: "required", - adminPassword_again: { - equalTo: "#adminPassword" - } + adminPassword: {required:true,maxlength:30,minlength:5}, + adminPassword_again: { + equalTo: "#adminPassword" + } } });
