Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
8186bdf9
Commit
8186bdf9
authored
Mar 27, 2013
by
murban
Browse files
fix selections
parent
85e07774
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/static/js/base/file/filebase/selections.js
View file @
8186bdf9
var
FileBaseSelections
=
Class
.
extend
({
init
:
function
(
owner
)
{
this
.
owner
=
owner
;
this
.
selec
tbool
=
false
;
this
.
copycu
tbool
=
false
;
this
.
entries
=
{};
},
unselectAll
:
function
()
{
$
(
'
.file-selection-box
'
).
removeAttr
(
'
checked
'
);
this
.
entries
=
{};
this
.
selec
tbool
=
false
;
this
.
copycu
tbool
=
false
;
},
unselect
:
function
(
path
,
node
)
{
...
...
@@ -18,7 +18,7 @@ var FileBaseSelections = Class.extend({
addSelection
:
function
(
path
,
node
)
{
this
.
selec
tbool
=
true
;
this
.
copycu
tbool
=
true
;
this
.
entries
[
path
]
=
node
;
console
.
log
(
this
.
entries
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment