Explorar o código

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

unknown %!s(int64=5) %!d(string=hai) anos
pai
achega
739ff3fbac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      o2web/source/x_component_query_Query/Viewer.js

+ 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();