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
4151219d
Commit
4151219d
authored
Dec 09, 2014
by
asseldonk
Browse files
filebrowser: revert parts of previous commit, selection.js produces errors
parent
2f423879
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/extensions/file/static/js/base/selections.js
View file @
4151219d
...
...
@@ -89,7 +89,7 @@ var FileBaseSelections = Class.extend({
var
offsetSelected
=
null
;
var
y
=
0
;
var
lastSelectedNode
=
this
.
lastSelectedNode
;
var
contentContainer
=
$
(
"
.file-
node
"
,
this
.
FileBase
.
view
.
fileContentContainer
);
var
contentContainer
=
$
(
"
.file-
view-content-container
"
,
this
.
FileBase
.
view
.
fileContentContainer
);
var
offsetMain
=
this
.
FileBase
.
view
.
fileContentContainer
.
offset
().
top
;
if
(
lastSelectedNode
===
null
||
number
===
0
)
{
selectNode
=
contentContainer
.
children
().
first
();
...
...
Write
Preview
Markdown
is supported
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