cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [9/11] git commit: multiEdit: Pass context to tagger widget
Date Tue, 24 Jul 2012 22:28:01 GMT
multiEdit: Pass context to tagger widget


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

Branch: refs/heads/vpc
Commit: c5dc569aaa061f04dd4a28bac3a6478f835cc3f6
Parents: e97c47b
Author: Brian Federle <brian.federle@citrix.com>
Authored: Tue Jul 24 11:49:55 2012 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Tue Jul 24 15:25:56 2012 -0700

----------------------------------------------------------------------
 ui/scripts/ui/widgets/multiEdit.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c5dc569a/ui/scripts/ui/widgets/multiEdit.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/multiEdit.js b/ui/scripts/ui/widgets/multiEdit.js
index 4f6643a..94e2ac9 100644
--- a/ui/scripts/ui/widgets/multiEdit.js
+++ b/ui/scripts/ui/widgets/multiEdit.js
@@ -340,7 +340,11 @@
 
                 if (options.tags) {
                   $(':ui-dialog').append(
-                    $('<div>').addClass('multi-edit-tags').tagger(options.tags)
+                    $('<div>').addClass('multi-edit-tags').tagger($.extend(true, {},
options.tags, {
+                      context: $.extend(true, {}, options.context, {
+                        multiRule: [multiRule]
+                      })
+                    }))
                   );
                 }
               }


Mime
View raw message