src/js/init.js
changeset 986 f9d51dd4a3fe
parent 984 e034099276f6
child 987 7b65bf78873a
equal deleted inserted replaced
985:9859c4bae904 986:f9d51dd4a3fe
    95     var _this = this;
    95     var _this = this;
    96     IriSP._(this.config.widgets).each(function(widgetconf, key) {
    96     IriSP._(this.config.widgets).each(function(widgetconf, key) {
    97         _this.widgets.push(null);
    97         _this.widgets.push(null);
    98         _this.loadWidget(widgetconf, function(widget) {
    98         _this.loadWidget(widgetconf, function(widget) {
    99             _this.widgets[key] = widget;
    99             _this.widgets[key] = widget;
       
   100             if (widget.isLoaded()) {
       
   101                 _this.trigger("widget-loaded");
       
   102             }
   100         });
   103         });
   101     });
   104     });
   102     this.$.find('.Ldt-Loader').detach();
   105     this.$.find('.Ldt-Loader').detach();
   103     
   106     
   104     var endload = false;
   107     var endload = false;