Skip to content

Commit

Permalink
Use POST requests for creating views
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Aug 28, 2015
1 parent a0c33f4 commit 38d1e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/functions.js
Expand Up @@ -4415,7 +4415,7 @@ function PMA_createViewDialog($this)
syntaxHighlighter.save();
}
$msg = PMA_ajaxShowMessage();
$.get('view_create.php', $('#createViewDialog').find('form').serialize(), function (data) {
$.post('view_create.php', $('#createViewDialog').find('form').serialize(), function (data) {
PMA_ajaxRemoveMessage($msg);
if (typeof data !== 'undefined' && data.success === true) {
$('#createViewDialog').dialog("close");
Expand Down

0 comments on commit 38d1e34

Please sign in to comment.