unknown 5 лет назад
Родитель
Сommit
ff322f15c9

+ 10 - 1
o2web/source/x_component_Meeting/ListView.js

@@ -163,7 +163,11 @@ MWF.xApplication.Meeting.ListView = new Class({
 
     },
     reload: function(){
-        this.app.reload();
+        if( this.currentView ){
+            this.currentView.reload();
+        }else{
+            this.app.reload();
+        }
     },
     recordStatus : function(){
         var action = "";
@@ -191,6 +195,11 @@ MWF.xApplication.Meeting.ListView.View = new Class({
         this.items = [];
         this.load();
     },
+    reload : function(){
+        this.items = [];
+        this.container.empty();
+        this.load();
+    },
     load: function(){
         this.loadHead();
 

+ 4 - 4
o2web/source/x_component_Meeting/Main.js

@@ -591,13 +591,13 @@ MWF.xApplication.Meeting.Main = new Class({
         };
     },
     reload: function( ){
-        if( this.inContainer ){
+        // if( this.inContainer ){
             if( this.currentView && this.currentView.reload ){
                 this.currentView.reload();
             }
-        }else{
-            this.refresh()
-        }
+        // }else{
+        //     this.refresh()
+        // }
     },
     loadSideBar : function(){
         this.sideBar = new MWF.xApplication.Meeting.SideBar(this.node, this);