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

Merge pull request #1486 from fjmilens3/select2-loaded-events

Added select2-loaded event trigger in loadMoreIfNeeded
This commit is contained in:
Igor Vaynberg 2013-07-03 22:20:12 -07:00
commit bed05df474

View File

@ -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 });
})}); })});
} }
}, },