MINOR Using 'apple' theme in tree (until we decide on a proper redesign)

This commit is contained in:
Ingo Schommer 2011-03-10 23:54:34 +13:00
parent cfb83e4e47
commit 20427cd45b
2 changed files with 6 additions and 2 deletions

View File

@ -243,7 +243,7 @@ class LeftAndMain extends Controller {
Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/scriptaculous/controls.js'); Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/scriptaculous/controls.js');
Requirements::javascript(THIRDPARTY_DIR . '/jstree/jquery.jstree.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.js');
Requirements::javascript(CMS_DIR . '/javascript/LeftAndMain.Tree.js'); Requirements::javascript(CMS_DIR . '/javascript/LeftAndMain.Tree.js');

View File

@ -77,7 +77,11 @@
"drop_target" : false, "drop_target" : false,
"drag_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) { .bind('before.jstree', function(e, data) {
if(data.func == 'start_drag') { if(data.func == 'start_drag') {