Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
54cd2c2f
authored
Mar 05, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: whitespace fix
parent
a29eaffa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
one/static/script/store.js
+6
-6
No files found.
one/static/script/store.js
View file @
54cd2c2f
...
...
@@ -393,7 +393,7 @@ var cloud = (function(cloud) {
* Uploads the specified file(s)
*/
var
readfiles
=
cloud
.
delayUntil
(
function
(
file
,
next
)
{
console
.
log
(
'read'
,
next
)
console
.
log
(
'read'
,
file
,
next
)
//1 GB file limit
if
(
file
.
size
>
1024
*
1024
*
1024
)
{
$
(
'#upload-zone'
).
hide
();
...
...
@@ -469,17 +469,17 @@ var cloud = (function(cloud) {
document
.
addEventListener
(
'drop'
,
function
(
e
)
{
e
.
stopPropagation
();
e
.
preventDefault
();
var
len
=
e
.
dataTransfer
.
files
.
length
;
var
files
=
e
.
dataTransfer
.
files
;
var
len
=
e
.
dataTransfer
.
files
.
length
;
var
files
=
e
.
dataTransfer
.
files
;
console
.
log
(
files
);
console
.
log
(
e
.
dataTransfer
.
files
);
var
i
=
1
;
var
i
=
1
;
readfiles
(
e
.
dataTransfer
.
files
[
0
],
function
()
{
console
.
log
(
'next'
,
i
);
next
=
arguments
.
callee
;
next
=
arguments
.
callee
;
return
function
()
{
console
.
log
(
'readnext'
,
i
,
len
);
if
(
i
>=
len
-
1
)
{
if
(
i
>=
len
-
2
)
{
console
.
log
(
'end'
,
i
,
len
);
self
.
getUploadURL
();
readfiles
(
files
[
i
++
],
null
);
...
...
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