Просмотр исходного кода

Merge branch 'fix/View.error' into 'develop'

Merge of fix/View.error to develop

See merge request o2oa/o2oa!1397
蔡祥熠 5 лет назад
Родитель
Сommit
b4e6795f03
1 измененных файлов с 1 добавлено и 2 удалено
  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;
     },