diff --git a/www/drive/inner.js b/www/drive/inner.js index 66c4ad27e..dc5c5fad2 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -71,7 +71,7 @@ define([ // Icons var faFolder = 'fa-folder'; var faFolderOpen = 'fa-folder-open'; - var faSharedFolder = 'fa-users'; + var faSharedFolder = 'fa-hdd-o'; var faReadOnly = 'fa-eye'; var faRename = 'fa-pencil'; var faTrash = 'fa-trash'; @@ -1720,6 +1720,12 @@ define([ ]), ]); + $(content).find('#cp-app-drive-sf-name').keydown(function (e) { + if (e.which === 13) { + UI.findOKButton().click(); + } + }); + UI.confirm(content, function (yes) { if (!yes) { return void cb(); }