From 2fff1a9f315a13bfb6018a707abfb99570fe8b23 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 14 Aug 2014 10:11:11 -0400 Subject: [PATCH] js cache busting for blocks add ?v=1 to call for js file --- Toolkit/Blocks/Admin/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Toolkit/Blocks/Admin/EditPage.php b/Toolkit/Blocks/Admin/EditPage.php index 9b3e654..92fc483 100644 --- a/Toolkit/Blocks/Admin/EditPage.php +++ b/Toolkit/Blocks/Admin/EditPage.php @@ -124,7 +124,7 @@ class Toolkit_Blocks_Admin_EditPage $GLOBALS['bottomScripts'][] = CKEDITOR_JS . ''; $GLOBALS['bottomScripts'][] - = $this->_routerPath . '/js/editPage.js'; + = $this->_routerPath . '/js/editPage.js?v=1'; if ($_GET['blockId'] && $_REQUEST['Command'] == 'Delete') { $blockId = filter_input( INPUT_GET, -- 2.17.1