mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Using 'apple' theme in tree (until we decide on a proper redesign)
This commit is contained in:
parent
cfb83e4e47
commit
20427cd45b
@ -243,7 +243,7 @@ class LeftAndMain extends Controller {
|
||||
Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/scriptaculous/controls.js');
|
||||
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/jstree/jquery.jstree.js');
|
||||
Requirements::css(THIRDPARTY_DIR . '/jstree/themes/default/style.css');
|
||||
Requirements::css(THIRDPARTY_DIR . '/jstree/themes/apple/style.css');
|
||||
|
||||
Requirements::javascript(CMS_DIR . '/javascript/LeftAndMain.js');
|
||||
Requirements::javascript(CMS_DIR . '/javascript/LeftAndMain.Tree.js');
|
||||
|
@ -77,7 +77,11 @@
|
||||
"drop_target" : false,
|
||||
"drag_target" : false
|
||||
},
|
||||
'plugins': ['html_data', 'ui', 'dnd', 'crrm']
|
||||
'themes': {
|
||||
'theme': 'apple'
|
||||
},
|
||||
// 'plugins': ['html_data', 'ui', 'dnd', 'crrm', 'themeroller']
|
||||
'plugins': ['html_data', 'ui', 'dnd', 'crrm', 'themes']
|
||||
})
|
||||
.bind('before.jstree', function(e, data) {
|
||||
if(data.func == 'start_drag') {
|
||||
|
Loading…
Reference in New Issue
Block a user