Skip to content

Commit 4c4cfe5

Browse files
committed
Create form: Store passed JSON object in select options, for plugin use
1 parent 664e5e3 commit 4c4cfe5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ui/scripts/ui/dialog.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@
284284
var $option = $('<option>')
285285
.appendTo($input)
286286
.val(_s(id))
287+
.data('json-obj', this)
287288
.html(_s(desc));
288289
});
289290

0 commit comments

Comments
 (0)