diff --git a/client/edit-names.js b/client/edit-names.js index e1590930..82beb678 100644 --- a/client/edit-names.js +++ b/client/edit-names.js @@ -46,11 +46,11 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO; } this.show = function() { - if (Info.name === '..') - return Dialog.alert.noFiles(TITLE); - var names = getActiveNames().join('\n'); + if (Info.name === '..' && names.length === 1) + return Dialog.alert.noFiles(TITLE); + CloudCmd.Edit .getEditor() .setValueFirst('edit-names', names)