Эх сурвалжийг харах

修复嵌入视图loading图标不小时的问题

unknown 5 жил өмнө
parent
commit
739ff3fbac

+ 1 - 1
o2web/source/x_component_query_Query/Viewer.js

@@ -346,7 +346,7 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
                 this.loadCurrentPageData();
             }.bind(this),
             onPostLoad : function () {
-                this.setContentHeightFun();
+                if(this.setContentHeightFun)this.setContentHeightFun();
             }.bind(this)
         });
         this.paging.load();