Permalink
Browse files

Disable Response class for XHR requests in PMD

  • Loading branch information...
1 parent 6e12d1a commit 31c8ca63011aaa8b08ea69a9cb37ea94077e5a7d @roccivic roccivic committed Jun 5, 2012
Showing with 8 additions and 0 deletions.
  1. +2 −0 pmd_display_field.php
  2. +3 −0 pmd_relation_new.php
  3. +3 −0 pmd_relation_upd.php
View
2 pmd_display_field.php
@@ -9,6 +9,8 @@
*/
require_once './libraries/common.inc.php';
+PMA_Response::getInstance()->disable();
+
require_once 'libraries/pmd_common.php';
View
3 pmd_relation_new.php
@@ -9,6 +9,9 @@
*
*/
require_once './libraries/common.inc.php';
+
+PMA_Response::getInstance()->disable();
+
require_once 'libraries/pmd_common.php';
$die_save_pos = 0;
require_once 'pmd_save_pos.php';
View
3 pmd_relation_upd.php
@@ -9,6 +9,9 @@
*
*/
require_once './libraries/common.inc.php';
+
+PMA_Response::getInstance()->disable();
+
require_once 'libraries/pmd_common.php';
extract($_POST, EXTR_SKIP);
extract($_GET, EXTR_SKIP);

0 comments on commit 31c8ca6

Please sign in to comment.