cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [01/19] git commit: updated refs/heads/ui-restyle to 4b63867
Date Tue, 24 Sep 2013 18:19:01 GMT
Updated Branches:
  refs/heads/ui-restyle 157836bfc -> 4b638672b


CLOUDSTACK-2180: UI > Instances > Reboot VM action > if the template from which vm
is created is password-enabled, pop up "Password has been reset to xxxxxxx" dialog after action
is complete.


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

Branch: refs/heads/ui-restyle
Commit: c1b5612c2d100b3e17ff3ef72e54546faf33b3e3
Parents: 62d49b3
Author: Jessica Wang <jessicawang@apache.org>
Authored: Mon Sep 23 12:00:14 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Mon Sep 23 12:00:14 2013 -0700

----------------------------------------------------------------------
 ui/scripts/instances.js | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c1b5612c/ui/scripts/instances.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js
index cf8aca5..a9f6d1c 100644
--- a/ui/scripts/instances.js
+++ b/ui/scripts/instances.js
@@ -458,6 +458,12 @@
                             },
                             notification: function(args) {
                                 return 'label.action.reboot.instance';
+                            },
+                            complete: function(args) {
+                            	if (args.password != null && args.password.length >
0)
+                                    return 'Password has been reset to ' + args.password;
+                            	else
+                            		return null;
                             }
                         },
                         notification: {


Mime
View raw message