Révision c06bd9a4
Ajouté par Assos Assos il y a presque 4 ans
drupal7/sites/all/modules/panels/panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php | ||
---|---|---|
127 | 127 |
* @param $pane |
128 | 128 |
*/ |
129 | 129 |
function render_pane(&$pane) { |
130 |
// Temporarily change $_GET['q'] so that panes think the current path is |
|
131 |
// the original path when rendering. |
|
132 |
$ajax_path = $_GET['q']; |
|
133 |
if (!empty($_GET['destination'])) { |
|
134 |
$_GET['q'] = $_GET['destination']; |
|
135 |
} |
|
136 |
|
|
130 | 137 |
$output = parent::render_pane($pane); |
138 |
|
|
139 |
// Reset $_GET['q'] to the AJAX path. |
|
140 |
$_GET['q'] = $ajax_path; |
|
141 |
|
|
131 | 142 |
if (empty($output)) { |
132 | 143 |
return; |
133 | 144 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules