Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
98614947
authored
Mar 07, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: missing ;, dev comments removed
parent
9ec26ced
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
one/static/script/store.js
+4
-6
No files found.
one/static/script/store.js
View file @
98614947
...
@@ -124,7 +124,7 @@ var cloud = (function(cloud) {
...
@@ -124,7 +124,7 @@ var cloud = (function(cloud) {
if
(
!
showToplist
())
{
if
(
!
showToplist
())
{
return
gettext
(
'Toplist'
);
return
gettext
(
'Toplist'
);
}
else
{
}
else
{
return
gettext
(
'Back to the root folder'
)
return
gettext
(
'Back to the root folder'
)
;
}
}
})
})
...
@@ -150,7 +150,7 @@ var cloud = (function(cloud) {
...
@@ -150,7 +150,7 @@ var cloud = (function(cloud) {
},
500
);
},
500
);
});
});
}
}
})
})
;
}
}
/**
/**
...
@@ -268,7 +268,7 @@ var cloud = (function(cloud) {
...
@@ -268,7 +268,7 @@ var cloud = (function(cloud) {
success
:
function
(
data
)
{
success
:
function
(
data
)
{
window
.
location
.
href
=
data
.
url
;
window
.
location
.
href
=
data
.
url
;
}
}
})
})
;
}
}
/**
/**
...
@@ -318,8 +318,7 @@ var cloud = (function(cloud) {
...
@@ -318,8 +318,7 @@ var cloud = (function(cloud) {
g
.
stopPropagation
();
g
.
stopPropagation
();
self
.
rename
(
item
,
g
);
self
.
rename
(
item
,
g
);
});
});
})
});
//$(e.target).parent().parent().parent().unbind('click');
$
(
e
.
target
).
parent
().
parent
().
parent
().
find
(
'.name'
).
html
(
'<input type="text" value="'
+
item
.
originalName
+
'" />\
$
(
e
.
target
).
parent
().
parent
().
parent
().
find
(
'.name'
).
html
(
'<input type="text" value="'
+
item
.
originalName
+
'" />\
<input type="submit" value="'
+
gettext
(
'Rename'
)
+
'" />'
);
<input type="submit" value="'
+
gettext
(
'Rename'
)
+
'" />'
);
$
(
e
.
target
).
parent
().
parent
().
parent
().
find
(
'.name input'
).
click
(
function
(
f
)
{
$
(
e
.
target
).
parent
().
parent
().
parent
().
find
(
'.name input'
).
click
(
function
(
f
)
{
...
@@ -403,7 +402,6 @@ var cloud = (function(cloud) {
...
@@ -403,7 +402,6 @@ var cloud = (function(cloud) {
}
}
var
formData
=
tests
.
formdata
?
new
FormData
()
:
null
;
var
formData
=
tests
.
formdata
?
new
FormData
()
:
null
;
formData
.
append
(
'data'
,
file
);
formData
.
append
(
'data'
,
file
);
// now post a new XHR request
if
(
tests
.
formdata
)
{
if
(
tests
.
formdata
)
{
var
xhr
=
new
XMLHttpRequest
();
var
xhr
=
new
XMLHttpRequest
();
var
start
=
new
Date
().
getTime
();
var
start
=
new
Date
().
getTime
();
...
...
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