Commit 810e3a52 by Robert Lyon

Bug 1664582: Rewire the modal dock triggers after pagination

When going to another page of pagination it rewires up the modal connections Works on page view and page edit screens behatnotneeded Change-Id: Ic38cf3e03272849c3a278ed40360c634e1472ae9 Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz> (cherry picked from commit f87515a8)
parent 85841b0e
......@@ -156,7 +156,7 @@ if (is_plugin_active('externalvideo', 'blocktype')) {
$inlinejs = "addLoadEvent( function() {\n" . join("\n", $blocktype_js['initjs']) . "\n});";
require_once('pieforms/pieform/elements/select.php');
$inlinejs .= pieform_element_select_get_inlinejs();
$inlinejs .= "jQuery(window).on('pageupdated', {}, function() { dock.init(jQuery(document)); });";
// The form for adding blocks via the keyboard
$addform = pieform(array(
'name' => 'addblock',
......
......@@ -330,6 +330,9 @@ jQuery(function($) {
});
});
jQuery(window).on('pageupdated', {}, function() {
dock.init(jQuery(document));
});
EOF;
// collection top navigation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment