Merge pull request #1486 from fjmilens3/select2-loaded-events
Added select2-loaded event trigger in loadMoreIfNeeded
This commit is contained in:
commit
bed05df474
@ -1497,6 +1497,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
self.positionDropdown();
|
self.positionDropdown();
|
||||||
self.resultsPage = page;
|
self.resultsPage = page;
|
||||||
self.context = data.context;
|
self.context = data.context;
|
||||||
|
this.opts.element.trigger({ type: "select2-loaded", items: data });
|
||||||
})});
|
})});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user