1
0
mirror of synced 2024-11-26 14:56:07 +03:00

Merge pull request #1938 from datapad/data-result-direct-children

Only pick up direct children when retrieving data in 'multiple' mode
This commit is contained in:
Igor Vaynberg 2013-11-29 22:24:32 -08:00
commit aa0fb730aa

View File

@ -3126,7 +3126,7 @@ the specific language governing permissions and limitations under the Apache Lic
var self=this, ids, old;
if (arguments.length === 0) {
return this.selection
.find(".select2-search-choice")
.children(".select2-search-choice")
.map(function() { return $(this).data("select2-data"); })
.get();
} else {