Merge e4718539e4 into 54b67bdbf1
This commit is contained in:
commit
e52fde1302
@ -82,6 +82,7 @@ AJAX.registerOnload('table/operations.js', function () {
|
||||
const $form = $(this);
|
||||
prepareForAjaxRequest($form);
|
||||
const argsep = CommonParams.get('arg_separator');
|
||||
ajaxShowMessage(window.Messages.strCopyingTable, false);
|
||||
$.post($form.attr('action'), $form.serialize() + argsep + 'submit_copy=Go', function (data) {
|
||||
if (typeof data !== 'undefined' && data.success === true) {
|
||||
if ($form.find('input[name=\'switch_to_new\']').prop('checked')) {
|
||||
|
||||
@ -343,6 +343,9 @@ final readonly class JavaScriptMessagesController implements InvocableController
|
||||
'strChangingCharset' => __('Changing charset'),
|
||||
'strNo' => __('No'),
|
||||
|
||||
/* For table/operations.js */
|
||||
'strCopyingTable' => __('Copying table'),
|
||||
|
||||
/* For Foreign key checks */
|
||||
'strForeignKeyCheck' => __('Enable foreign key checks'),
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user