1
0
mirror of synced 2024-11-23 13:36:01 +03:00

Merge pull request #432 from brettmas/master

make original option available to formatSelection on init
This commit is contained in:
Igor Vaynberg 2012-09-20 10:33:16 -07:00
commit 65493206a7

View File

@ -1790,7 +1790,7 @@
var data = []; var data = [];
element.find(":selected").each2(function (i, elm) { 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)) if ($.isFunction(callback))