Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
commit
317df456e8
@ -25,9 +25,11 @@ function changePluginOpts () {
|
||||
$('#' + selectedPluginName + '_options').fadeIn('slow');
|
||||
|
||||
const importNotification = document.getElementById('import_notification');
|
||||
importNotification.innerText = '';
|
||||
if (selectedPluginName === 'csv') {
|
||||
importNotification.innerHTML = '<div class="alert alert-info mb-0 mt-3" role="alert">' + window.Messages.strImportCSV + '</div>';
|
||||
if (importNotification) {
|
||||
importNotification.innerText = '';
|
||||
if (selectedPluginName === 'csv') {
|
||||
importNotification.innerHTML = '<div class="alert alert-info mb-0 mt-3" role="alert">' + window.Messages.strImportCSV + '</div>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -452,7 +452,11 @@ Functions.suggestPassword = function (passwordForm) {
|
||||
passwordForm.elements.pma_pw2.value = passwd.value;
|
||||
var meterObj = $jQueryPasswordForm.find('meter[name="pw_meter"]').first();
|
||||
var meterObjLabel = $jQueryPasswordForm.find('span[name="pw_strength"]').first();
|
||||
Functions.checkPasswordStrength(passwd.value, meterObj, meterObjLabel, passwordForm.elements.username.value);
|
||||
var username = '';
|
||||
if (passwordForm.elements.username) {
|
||||
username = passwordForm.elements.username.value;
|
||||
}
|
||||
Functions.checkPasswordStrength(passwd.value, meterObj, meterObjLabel, username);
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
@ -258,6 +258,11 @@ class ExportXml extends ExportPlugin
|
||||
. Util::backquote($table),
|
||||
0,
|
||||
);
|
||||
|
||||
if ($result === []) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$tbl = (string) $result[$table][1];
|
||||
|
||||
$is_view = $GLOBALS['dbi']->getTable($GLOBALS['db'], $table)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user