summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeloglazov912017-02-06 15:11:38 (GMT)
committerJakob Perry2017-02-06 15:11:38 (GMT)
commit10d6b4709fd7a07a4dd4ffe4c68c9c4bbb6216dc (patch)
treed639d4e3e708f924cafbc1c9ac2f261089ebfb5a
parent541590d07aded8e1c14c7f481754f1b8d5c48a0e (diff)
Issue #2848146 by beloglazov91: Fix problems related with clearing cache for IPE mini panelHEAD7.x-3.97.x-3.x
-rw-r--r--panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php b/panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php
index 6a7326c..361e53e 100644
--- a/panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php
+++ b/panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php
@@ -355,6 +355,9 @@ class panels_renderer_ipe extends panels_renderer_editor {
$buttons = &drupal_static('panels_ipe_toolbar_buttons', array());
$output = theme('panels_ipe_toolbar', array('buttons' => $buttons));
$this->commands[] = ajax_command_replace('#panels-ipe-control-container', $output);
+
+ $storage_id = $this->cache->display->storage_id;
+ cache_clear_all('panels_mini_load:' . $storage_id, 'cache_panels', TRUE);
}
else {
// Cancelled. Clear the cache.