Explorar el Código

added new loaded event. fixes #930

Igor Vaynberg hace 12 años
padre
commit
3be8547584
Se han modificado 1 ficheros con 2 adiciones y 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 });
             })});
         },