This commit is contained in:
Martin Müller 2014-06-04 00:15:03 +02:00
parent 4b6e53cc46
commit c51edb4ce8
1 changed files with 4 additions and 1 deletions

View File

@ -113,7 +113,10 @@ var global_load = null;
$("tr", that).removeClass("new");
console.log(newRow);
$(that).append("<tr class=\"new\">" + newRow + "</tr>");
event("form.tableForm tbody tr.new");
$"form.tableForm tbody tr.new select").each(function() {
$(this).select2({allowClear: true});
});
evet();
}
});