You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Fix #15656 - Saving UI displayed columns on a non database request fails
Fixes: #15656 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
@@ -378,6 +378,11 @@ var makeGrid = function (t, enableResize, enableReorder, enableVisib, enableGrid
|
||||
*/
|
||||
sendColPrefs: function () {
|
||||
if ($(g.t).is('.ajax')) { // only send preferences if ajax class
|
||||
if (typeof g.db !== 'string' && typeof g.table !== 'string') {
|
||||
// The server has nothing to do with it
|
||||
// Issue: https://github.com/phpmyadmin/phpmyadmin/issues/15658
|
||||
return;
|
||||
}
|
||||
var postParams = {
|
||||
'ajax_request': true,
|
||||
'db': g.db,
|
||||
|
||||
Reference in New Issue
Block a user