Browse Source

added new loaded event. fixes #930

Igor Vaynberg 12 years ago
parent
commit
3be8547584
1 changed files with 2 additions and 0 deletions
  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 });
             })});
         },