Browse Source

Use Cancel and Save buttons instead of No and Yes on Save As dialog

master^2
Andras Timar 1 year ago
parent
commit
d02ed7a2f0
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      js/documents.js

+ 6
- 1
js/documents.js View File

@@ -401,7 +401,12 @@ var documentsMain = {
},
true,
t('richdocuments', 'New filename'),
false);
false).then(function() {
var $dialog = $('.oc-dialog:visible');
var $buttons = $dialog.find('button');
$buttons.eq(0).text(t('richdocuments', 'Cancel'));
$buttons.eq(1).text(t('richdocuments', 'Save'));
});
} else if (msgId === 'App_VersionRestore') {
if (!documentsMain.$deferredVersionRestoreAck)
{

Loading…
Cancel
Save