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

add missing element prop to data. fix #936

This commit is contained in:
Igor Vaynberg 2013-03-01 00:54:11 -08:00
parent 8520793f25
commit 31101764ff

View File

@ -1946,7 +1946,7 @@ the specific language governing permissions and limitations under the Apache Lic
this.select this.select
.val(val) .val(val)
.find(":selected").each2(function (i, elm) { .find(":selected").each2(function (i, elm) {
data = {id: elm.attr("value"), text: elm.text()}; data = {id: elm.attr("value"), text: elm.text(), element: elm.get(0)};
return false; return false;
}); });
this.updateSelection(data); this.updateSelection(data);