Repository: stratos
Updated Branches:
  refs/heads/master 495e86fbd -> 101ba7915
  refs/heads/master-deployment-policy-fix-merge 7cc23ffc8 -> 495e86fbd


auto redirect after application policy apply


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/61ecad66
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/61ecad66
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/61ecad66

Branch: refs/heads/master-deployment-policy-fix-merge
Commit: 61ecad6623b6338529fcf51e4db9a58347d0b5bd
Parents: 5853dea
Author: Dakshika Jayathilaka <[email protected]>
Authored: Thu Mar 12 04:59:11 2015 +0530
Committer: Dakshika Jayathilaka <[email protected]>
Committed: Thu Mar 12 04:59:11 2015 +0530

----------------------------------------------------------------------
 .../console/themes/theme0/js/custom/applications-deploy.js       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/61ecad66/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-deploy.js
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-deploy.js
 
b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-deploy.js
index 2f612f7..19e5829 100644
--- 
a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-deploy.js
+++ 
b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-deploy.js
@@ -398,7 +398,9 @@ $(document).ready(function(){
                     var n = noty({text: data.message, layout: 'bottomRight', 
type: 'warning'});
                 } else {
                     var n = noty({text: data.message, layout: 'bottomRight', 
type: 'success'});
-
+                    window.setTimeout(function(){
+                        window.location.href = '../';
+                    }, 1500);
                 }
             }
         })

Reply via email to