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 664e5e3190
commit 4c4cfe5e13

View File

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