Use Cancel and Save buttons instead of No and Yes on Save As dialog
This commit is contained in:
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…
x
Reference in New Issue
Block a user