Temporarily remove state plugin, which is not working

This commit is contained in:
Buu Nguyen 2014-08-20 12:49:12 -07:00
parent 6d8ff7f4c9
commit b740bac987
1 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,7 @@ function TreeView($dom, store, adapter) {
})
.jstree({
core : { multiple: false, themes : { responsive : false } },
plugins : ['wholerow', 'state']
plugins : ['wholerow']
})
}
@ -61,7 +61,6 @@ TreeView.prototype.show = function(repo, treeData) {
treeData = sort(treeData)
if (collapseTree) treeData = collapse(treeData)
tree.settings.core.data = treeData
tree.settings.state.key = PREFIX + '.' + repo.username + '/' + repo.reponame
treeContainer.one('refresh.jstree', function() {
self.syncSelection()