Commit 8186bdf9 authored by murban's avatar murban
Browse files

fix selections

parent 85e07774
var FileBaseSelections = Class.extend({
init: function(owner) {
this.owner = owner;
this.selectbool = false;
this.copycutbool = false;
this.entries = {};
},
unselectAll: function() {
$('.file-selection-box').removeAttr('checked');
this.entries = {};
this.selectbool = false;
this.copycutbool = false;
},
unselect: function (path, node) {
......@@ -18,7 +18,7 @@ var FileBaseSelections = Class.extend({
addSelection: function(path, node)
{
this.selectbool = true;
this.copycutbool = true;
this.entries[path] = node;
console.log(this.entries);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment