diff --git a/js/widgets/widget-view.js b/js/widgets/widget-view.js index 810fd02f..940c7095 100644 --- a/js/widgets/widget-view.js +++ b/js/widgets/widget-view.js @@ -118,6 +118,7 @@ }); $(wo.view_container).append($container); + c.$table.triggerHandler('viewComplete'); }, removeView: function(c, wo) { @@ -154,7 +155,6 @@ c.$table.on('tablesorter-ready', function() { view.buildToolBar(c, wo); view.buildView(c, wo); - c.$table.triggerHandler('viewComplete'); }); },