Commit 3b6c5a7 Ben Thomson
committed Jun 9, 2020 Unverified
1 parent a1210a4 commit 3b6c5a7 Copy full SHA for 3b6c5a7
File tree 3 files changed +8
-7
lines changed
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ public function __construct()
99
99
public function index ()
100
100
{
101
101
$ this ->addJs ('/modules/backend/assets/js/october.treeview.js ' , 'core ' );
102
- $ this ->addJs ('/plugins/rainlab/pages/assets/js/pages-page.js ' );
103
- $ this ->addJs ('/plugins/rainlab/pages/assets/js/pages-snippets.js ' );
104
- $ this ->addCss ('/plugins/rainlab/pages/assets/css/pages.css ' );
102
+ $ this ->addJs ('/plugins/rainlab/pages/assets/js/pages-page.js ' , ' RainLab.Pages ' );
103
+ $ this ->addJs ('/plugins/rainlab/pages/assets/js/pages-snippets.js ' , ' RainLab.Pages ' );
104
+ $ this ->addCss ('/plugins/rainlab/pages/assets/css/pages.css ' , ' RainLab.Pages ' );
105
105
106
106
// Preload the code editor class as it could be needed
107
107
// before it loads dynamically.
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class MenuItems extends FormWidgetBase
31
31
public $ urlRequiredMessage = 'rainlab.pages::lang.menuitem.url_required ' ;
32
32
33
33
public $ cmsPageRequiredMessage = 'rainlab.pages::lang.menuitem.cms_page_required ' ;
34
-
34
+
35
35
public $ newItemTitle = 'rainlab.pages::lang.menuitem.new_item ' ;
36
36
37
37
/**
@@ -80,7 +80,7 @@ public function prepareVars()
80
80
*/
81
81
protected function loadAssets ()
82
82
{
83
- $ this ->addJs ('js/menu-items-editor.js ' , 'core ' );
83
+ $ this ->addJs ('js/menu-items-editor.js ' , 'RainLab.Pages ' );
84
84
}
85
85
86
86
/**
@@ -98,7 +98,7 @@ public function getSaveValue($value)
98
98
/**
99
99
* Returns the item reference description.
100
100
* @param \RainLab\Pages\Classes\MenuItem $item Specifies the menu item
101
- * @return string
101
+ * @return string
102
102
*/
103
103
protected function getReferenceDescription ($ item )
104
104
{
Original file line number Diff line number Diff line change 50
50
1.3.1 : Added ChildPages Component, prevent hidden pages from being returned via menu item resolver.
51
51
1.3.2 : Fixes error when creating a subpage whose parent has no layout set.
52
52
1.3.3 : Improves user experience for users with only partial access through permissions
53
- 1.3.4 : Fix error where large menus were being truncated due to the PHP "max_input_vars" configuration value. Improved Slovenian translation.
53
+ 1.3.4 : Fix error where large menus were being truncated due to the PHP "max_input_vars" configuration value. Improved Slovenian translation.
54
+ 1.3.5 : Minor fix to bust the browser cache for JS assets. Prevent duplicate property fields in snippet inspector.
You can’t perform that action at this time.
2 commit comments
mjauvin commentedon Jun 9, 2020
@bennothommo that would be why I still got the cached version after upgrading.
Thanks for fixing this.
bennothommo commentedon Jun 9, 2020
No worries @mjauvin