Repository: cloudstack Updated Branches: refs/heads/4.4-forward 83e5ea981 -> beb26237b
Create form: Store passed JSON object in select options, for plugin use Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/beb26237 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/beb26237 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/beb26237 Branch: refs/heads/4.4-forward Commit: beb26237bceabfc3ebeae57431f9affb21d041e5 Parents: 83e5ea9 Author: Brian Federle <brian.fede...@citrix.com> Authored: Thu Apr 17 15:52:28 2014 -0700 Committer: Brian Federle <brian.fede...@citrix.com> Committed: Thu Apr 24 15:07:41 2014 -0700 ---------------------------------------------------------------------- ui/scripts/ui/dialog.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/beb26237/ui/scripts/ui/dialog.js ---------------------------------------------------------------------- diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js index 34cec7b..7a903fd 100644 --- a/ui/scripts/ui/dialog.js +++ b/ui/scripts/ui/dialog.js @@ -287,6 +287,7 @@ var $option = $('<option>') .appendTo($input) .val(_s(id)) + .data('json-obj', this) .html(_s(desc)); });