You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2014/02/28 23:22:05 UTC
git commit: updated refs/heads/master to c93b2fa
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 <br...@citrix.com>
Authored: Fri Feb 28 14:21:59 2014 -0800
Committer: Brian Federle <br...@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'),