cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/master to c93b2fa
Date Fri, 28 Feb 2014 22:22:05 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master d896aedcc -> c93b2fa60


UI dialog: Add event trigger on form creation, to aid in plugin development


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

Branch: refs/heads/master
Commit: c93b2fa6050e1fdea5cbb6037a8bdd8a7470d5aa
Parents: d896aed
Author: Brian Federle <brian.federle@citrix.com>
Authored: Fri Feb 28 14:21:59 2014 -0800
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Fri Feb 28 14:21:59 2014 -0800

----------------------------------------------------------------------
 ui/scripts/ui/dialog.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c93b2fa6/ui/scripts/ui/dialog.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js
index fd81e25..035c355 100644
--- a/ui/scripts/ui/dialog.js
+++ b/ui/scripts/ui/dialog.js
@@ -86,6 +86,10 @@
                                 context: args.context
                             });
                         }
+
+                        $(window).trigger('cloudStack.createForm.open', {
+                          $form: $form
+                        });
                     },
                     buttons: [{
                         text: createLabel ? createLabel : _l('label.ok'),


Mime
View raw message