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/05/16 17:21:17 UTC

git commit: updated refs/heads/master to 3ab5264

Repository: cloudstack
Updated Branches:
  refs/heads/master 1f05fa2fb -> 3ab526433


Detail view: Add event hook on field creation


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

Branch: refs/heads/master
Commit: 3ab526433c6c0556435bb646f012757a9ebab157
Parents: 1f05fa2
Author: Brian Federle <br...@citrix.com>
Authored: Fri May 16 08:20:34 2014 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Fri May 16 08:20:48 2014 -0700

----------------------------------------------------------------------
 ui/scripts/ui/widgets/detailView.js | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3ab52643/ui/scripts/ui/widgets/detailView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/detailView.js b/ui/scripts/ui/widgets/detailView.js
index c6cf1ca..47b356d 100644
--- a/ui/scripts/ui/widgets/detailView.js
+++ b/ui/scripts/ui/widgets/detailView.js
@@ -940,6 +940,14 @@
 
         $detailGroups.append($('<div>').addClass('main-groups'));
 
+        $(window).trigger('cloudStack.detailView.makeFieldContent', {
+            fields: fields,
+            data: data,
+            detailViewArgs: detailViewArgs,
+            $detailView: $detailView,
+            $detailGroups: $detailGroups
+        });
+
         $(fields).each(function() {
             var fieldGroup = this;
             var $detailTable = $('<tbody></tbody>').appendTo(