Skip to content
Browse files

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

  • Loading branch information...
1 parent cfb83e4 commit 20427cd45ba77b79a23b59dda55804f26d9f2645 @chillu chillu committed Mar 10, 2011
Showing with 6 additions and 2 deletions.
  1. +1 −1 code/LeftAndMain.php
  2. +5 −1 javascript/LeftAndMain.Tree.js
View
2 code/LeftAndMain.php
@@ -243,7 +243,7 @@ function init() {
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');
View
6 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') {

0 comments on commit 20427cd

Please sign in to comment.
Something went wrong with that request. Please try again.