From d8e5c648267ed17a56a4524e4b68f1cd119efccc Mon Sep 17 00:00:00 2001 From: Eric_Lee Date: Mon, 26 Aug 2019 19:09:53 +0800 Subject: [PATCH] fix web sftp select all items display (#3162) --- apps/static/plugins/elfinder/elfinder.full.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/static/plugins/elfinder/elfinder.full.js b/apps/static/plugins/elfinder/elfinder.full.js index 03bc40f4d..59a79882a 100755 --- a/apps/static/plugins/elfinder/elfinder.full.js +++ b/apps/static/plugins/elfinder/elfinder.full.js @@ -14230,6 +14230,8 @@ $.fn.elfindercwd = function(fm, options) { selectCheckbox && selectAllCheckbox.find('input').prop('checked', true); fm.lazy(function() { var files; + // fix select all display; remove cwd disable status + cwd.find('[id]:not(.'+clSelected+'):not(.elfinder-cwd-parent)').removeClass(clDisabled); cwd.find('[id]:not(.'+clSelected+'):not(.elfinder-cwd-parent)').trigger(evtSelect); if (fm.maxTargets && (incHashes || cwdHashes).length > fm.maxTargets) { files = $.map(incHashes || cwdHashes, function(hash) { return fm.file(hash) || null; }); @@ -33643,4 +33645,4 @@ elFinder.prototype.commands.view = function() { }; return elFinder; -})); \ No newline at end of file +}));