Merge pull request #14441 from nulll-pointer/view_create_multiple_server

Fix #14365, View not working on multiple servers
This commit is contained in:
Madhura Jayaratne 2018-07-17 08:55:44 +10:00 committed by GitHub
commit f80b4486b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4543,7 +4543,8 @@ function PMA_createViewDialog ($this) {
var $msg = PMA_ajaxShowMessage();
var syntaxHighlighter = null;
var sep = PMA_commonParams.get('arg_separator');
$.get($this.attr('href') + sep + 'ajax_request=1' + sep + 'ajax_dialog=1', function (data) {
params = $this.getPostData();
$.get($this.attr('href') + sep + 'ajax_request=1' + sep + 'ajax_dialog=1' + sep + params, function (data) {
if (typeof data !== 'undefined' && data.success === true) {
PMA_ajaxRemoveMessage($msg);
var buttonOptions = {};