diff --git a/index.html b/index.html index 33ed75cd..d3ab7e39 100644 --- a/index.html +++ b/index.html @@ -46,13 +46,13 @@
@@ -223,7 +223,7 @@
- diff --git a/scripts/filemanager.js b/scripts/filemanager.js index 16aae63a..5e98a39c 100644 --- a/scripts/filemanager.js +++ b/scripts/filemanager.js @@ -1850,12 +1850,12 @@ $.richFilemanagerPlugin = function(element, pluginOptions) fm.log("CLOSE button is clicked"); }; - this.goHome = function() { + this.navHome = function() { model.previewFile(false); model.itemsModel.loadList(fileRoot); }; - this.goParent = function() { + this.navLevelUp = function() { var parentFolder = model.previewFile() ? getDirname(model.previewModel.rdo().id) : getParentDirname(model.currentPath()); @@ -1869,6 +1869,15 @@ $.richFilemanagerPlugin = function(element, pluginOptions) } }; + this.navRefresh = function() { + if(model.previewFile()) { + model.previewFile(false); + model.previewFile(true); + } else { + model.itemsModel.loadList(model.currentPath()); + } + }; + this.displayGrid = function() { model.viewMode('grid'); model.previewFile(false);