Create form: Store passed JSON object in select options, for plugin use

This commit is contained in:
Brian Federle 2014-04-17 15:52:28 -07:00
parent 83e5ea9812
commit beb26237bc
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@
var $option = $('<option>')
.appendTo($input)
.val(_s(id))
.data('json-obj', this)
.html(_s(desc));
});