Ver Fonte

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

unknown há 5 anos atrás
pai
commit
739ff3fbac
1 ficheiros alterados com 1 adições e 1 exclusões
  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();