Don't add any extra data to failed ajax requests
This commit is contained in:
parent
100b07c10d
commit
de36d629b6
@ -294,7 +294,7 @@ class PMA_Response
|
||||
unset($this->_JSON['message']);
|
||||
}
|
||||
|
||||
if ($this->_isAjaxPage) {
|
||||
if ($this->_isAjaxPage && $this->_isSuccess) {
|
||||
$this->addJSON('_title', $this->getHeader()->getTitleTag());
|
||||
|
||||
$menuHash = $this->getHeader()->getMenu()->getHash();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user