Explorar o código

added new loaded event. fixes #930

Igor Vaynberg %!s(int64=12) %!d(string=hai) anos
pai
achega
3be8547584
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      select2.js

+ 2 - 0
select2.js

@@ -1454,6 +1454,8 @@ the specific language governing permissions and limitations under the Apache Lic
                 this.postprocessResults(data, initial);
 
                 postRender();
+
+                this.opts.element.trigger({ type: "loaded", data:data });
             })});
         },