Skip to content
Snippets Groups Projects
Commit e25cbd60 authored by David Rothstein's avatar David Rothstein
Browse files

Issue #2182315 by joachim: Simpletest verbose output doesn't show end result...

Issue #2182315 by joachim: Simpletest verbose output doesn't show end result of a drupalPostAjaxForm().
parent dd8e45ae
No related branches found
No related tags found
No related merge requests found
...@@ -2294,6 +2294,14 @@ protected function drupalPostAJAX($path, $edit, $triggering_element, $ajax_path ...@@ -2294,6 +2294,14 @@ protected function drupalPostAJAX($path, $edit, $triggering_element, $ajax_path
} }
$this->drupalSetContent($content); $this->drupalSetContent($content);
$this->drupalSetSettings($drupal_settings); $this->drupalSetSettings($drupal_settings);
$verbose = 'AJAX POST request to: ' . $path;
$verbose .= '<br />AJAX callback path: ' . $ajax_path;
$verbose .= '<hr />Ending URL: ' . $this->getUrl();
$verbose .= '<hr />' . $this->content;
$this->verbose($verbose);
return $return; return $return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment