Skip to content
Permalink
Browse files

Fix create view dialog not sending parameters as POST

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
  • Loading branch information...
mauriciofauth committed Jul 18, 2018
1 parent 42561e6 commit ca06ecc87681e7d547271fdbd06816a2bee9be80
Showing with 3 additions and 2 deletions.
  1. +3 −2 js/functions.js
@@ -4543,8 +4543,9 @@ function PMA_createViewDialog ($this) {
var $msg = PMA_ajaxShowMessage();
var syntaxHighlighter = null;
var sep = PMA_commonParams.get('arg_separator');
params = $this.getPostData();
$.get($this.attr('href') + sep + 'ajax_request=1' + sep + 'ajax_dialog=1' + sep + params, function (data) {
var params = getJSConfirmCommonParam(this, $this.getPostData());
params += sep + 'ajax_dialog=1';
$.post($this.attr('href'), params, function (data) {
if (typeof data !== 'undefined' && data.success === true) {
PMA_ajaxRemoveMessage($msg);
var buttonOptions = {};

0 comments on commit ca06ecc

Please sign in to comment.
You can’t perform that action at this time.