浏览代码

HUE-7607 [fb] Right click on . folder of a directory does not show the popup

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

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

@@ -872,7 +872,7 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
           }
 
           // display context menu and ensure it is on-screen
-          if ($.inArray(row.name, ['..', '.', '.Trash']) === -1) {
+          if ($.inArray(row.name, ['..', '.Trash']) === -1) {
             this.selected(true);
             var verticalCorrection = 0;
             %if is_embeddable: