浏览代码

HUE-6209 [fb] Click on previous page on the file viewer shouldn't throw a JS error

Enrico Berti 8 年之前
父节点
当前提交
ff0bf76
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/filebrowser/src/filebrowser/templates/display.mako

+ 1 - 1
apps/filebrowser/src/filebrowser/templates/display.mako

@@ -455,7 +455,7 @@ ${ fb_components.menubar() }
           self.upperPage(self.page() - 1);
           self.page(Math.max(self.page() - _difference - 1, 1));
         }
-        changePage();
+        self.changePage();
       }
     };