1
0
mirror of synced 2024-11-30 00:26:03 +03:00

clarify syntax. fixes #1358

This commit is contained in:
Igor Vaynberg 2013-06-03 10:02:19 -07:00
parent d08d9ff18c
commit 5d8f03c90b

View File

@ -2934,7 +2934,7 @@ the specific language governing permissions and limitations under the Apache Lic
} }
this.opts.initSelection(this.opts.element, function(data){ this.opts.initSelection(this.opts.element, function(data){
var ids=$(data).map(self.id); var ids=$.map(data, self.id);
self.setVal(ids); self.setVal(ids);
self.updateSelection(data); self.updateSelection(data);
self.clearSearch(); self.clearSearch();