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

master^2
Andras Timar 6 years ago
parent 35b6560943
commit d02ed7a2f0

@ -401,7 +401,12 @@ var documentsMain = {
}, },
true, true,
t('richdocuments', 'New filename'), 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') { } else if (msgId === 'App_VersionRestore') {
if (!documentsMain.$deferredVersionRestoreAck) if (!documentsMain.$deferredVersionRestoreAck)
{ {

Loading…
Cancel
Save