Skip to content

Commit

Permalink
close #11
Browse files Browse the repository at this point in the history
  • Loading branch information
movie4 committed Jul 7, 2015
1 parent a25a65e commit 5878ec9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 245 deletions.
1 change: 0 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"license": "MIT",
"dependencies": {
"jqtree": "~1.1.0",
"jquery.cookie": "~1.4.1",
"jqTreeContextMenu": "https://github.com/DavidUv/jqTreeContextMenu"
},
"overrides": {
Expand Down
2 changes: 1 addition & 1 deletion ps_tree/static/css/vendor/jqtree.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ ul.jqtree-tree li.jqtree-selected > .jqtree-element:hover {

ul.jqtree-tree .jqtree-moving > .jqtree-element .jqtree-title {
outline: dashed 1px #0000ff;
}
}
125 changes: 2 additions & 123 deletions ps_tree/static/js/__ps_tree.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions ps_tree/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

if (typeof $ === 'undefined') { require('jquery'); }

require('./vendor/jquery.cookie.js');

(function($){

$(window).load(function(){
Expand All @@ -20,7 +18,6 @@ require('./vendor/jquery.cookie.js');
'async': false
});


$tree
.on('tree.init', function(){
var treeData = $tree.tree('getTree');
Expand Down Expand Up @@ -90,6 +87,7 @@ require('./vendor/jquery.cookie.js');
}
} else {
window.location = event.node.url_update;
localStorage.clear();
}

if(selectedNodes === allNodes){
Expand Down
117 changes: 0 additions & 117 deletions ps_tree/static/js/vendor/jquery.cookie.js

This file was deleted.

0 comments on commit 5878ec9

Please sign in to comment.