Преглед изворни кода

added new loaded event. fixes #930

Igor Vaynberg пре 12 година
родитељ
комит
3be8547584
1 измењених фајлова са 2 додато и 0 уклоњено
  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 });
             })});
         },