js cache busting for blocks
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 14 Aug 2014 14:11:11 +0000 (10:11 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 14 Aug 2014 14:11:11 +0000 (10:11 -0400)
add ?v=1 to call for js file

Toolkit/Blocks/Admin/EditPage.php

index 9b3e654..92fc483 100644 (file)
@@ -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,