Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos.toolbox
Commits
fbeebb8b
Commit
fbeebb8b
authored
Jan 17, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename parent... to ..
parent
a9d4e1fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/runner/static/js/jquery/gsFileManager.js
slapos/runner/static/js/jquery/gsFileManager.js
+1
-1
No files found.
slapos/runner/static/js/jquery/gsFileManager.js
View file @
fbeebb8b
...
@@ -465,7 +465,7 @@ if (jQuery) (function(jQuery){
...
@@ -465,7 +465,7 @@ if (jQuery) (function(jQuery){
var
fileshtml
=
''
;
var
fileshtml
=
''
;
var
gs_lastparent
=
jQuery
(
'
#
'
+
jQuery
(
"
#curDir
"
).
attr
(
'
rel
'
)).
parent
().
parent
().
parent
().
children
(
'
a
'
);
var
gs_lastparent
=
jQuery
(
'
#
'
+
jQuery
(
"
#curDir
"
).
attr
(
'
rel
'
)).
parent
().
parent
().
parent
().
children
(
'
a
'
);
if
(
gs_lastparent
.
length
>
0
)
{
if
(
gs_lastparent
.
length
>
0
)
{
fileshtml
+=
"
<tr><td class='first'><div class='directory directory_info gsItem' rel=
\
'up
\
'><a href='javascript:void(0)' onclick=
\"
jQuery('#
"
+
jQuery
(
"
#curDir
"
).
attr
(
'
rel
'
)
+
"
').parent().parent().parent().children('a').trigger('click'); return false
\"
>
parent.
..</a></div></td align='center'><td align='center'>Folder</td><td align='center'>-</td><td align='center'>-</td></tr>
"
;
fileshtml
+=
"
<tr><td class='first'><div class='directory directory_info gsItem' rel=
\
'up
\
'><a href='javascript:void(0)' onclick=
\"
jQuery('#
"
+
jQuery
(
"
#curDir
"
).
attr
(
'
rel
'
)
+
"
').parent().parent().parent().children('a').trigger('click'); return false
\"
> ..</a></div></td align='center'><td align='center'>Folder</td><td align='center'>-</td><td align='center'>-</td></tr>
"
;
}
}
if
(
gsfiless
.
length
>
0
)
{
if
(
gsfiless
.
length
>
0
)
{
for
(
var
numf
in
gsfiless
)
{
for
(
var
numf
in
gsfiless
)
{
...
...
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