Jelajahi Sumber

修复视图在IE上不能打开的问题

unknown 5 tahun lalu
induk
melakukan
62c9c241a6
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      o2web/source/x_component_query_Query/Viewer.js

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

@@ -277,7 +277,7 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
             this.lookup(data);
         }
     },
-    isSelectTdHidden(){
+    isSelectTdHidden :function(){
         if( !this.viewJson.firstTdHidden ){
             return false;
         }
@@ -388,7 +388,6 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
 
         var i = this.count/this.json.pageSize;
         this.pages = (i.toInt()<i) ? i.toInt()+1 : i;
-        this.currentPage = 1;
         this.currentPage = this.options.defaultPage || 1;
         this.options.defaultPage = null;
     },