1
0
mirror of synced 2024-11-26 23:06:02 +03:00

original option not available to formatSelection on init

The original option isn't available to formatSelection when initializing the selection from a select[multiple]
This commit is contained in:
brettmas 2012-09-21 02:39:58 +10:00
parent 2027c0cebf
commit c577158599

View File

@ -1790,7 +1790,7 @@
var data = [];
element.find(":selected").each2(function (i, elm) {
data.push({id: elm.attr("value"), text: elm.text()});
data.push({id: elm.attr("value"), text: elm.text(), element: elm});
});
if ($.isFunction(callback))