Change text of ghost "New Pad" button in the drive

pull/1/head
David Benqué 4 years ago
parent 6f82f68333
commit 35591d363d

@ -3067,7 +3067,7 @@ define([
'class': 'cp-app-drive-element-row cp-app-drive-new-ghost' 'class': 'cp-app-drive-element-row cp-app-drive-new-ghost'
}).prepend($addIcon.clone()).appendTo($list); }).prepend($addIcon.clone()).appendTo($list);
$element.append($('<span>', {'class': 'cp-app-drive-element-name'}) $element.append($('<span>', {'class': 'cp-app-drive-element-name'})
.text(Messages.fm_newFile)); .text(Messages.fm_newButton));
$element.click(function () { $element.click(function () {
var modal = UI.createModal({ var modal = UI.createModal({
id: 'cp-app-drive-new-ghost-dialog', id: 'cp-app-drive-new-ghost-dialog',

Loading…
Cancel
Save