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
6823e692
authored
Feb 06, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: debug messages removed
parent
913eb0b1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
one/static/cloud.js
+0
-12
No files found.
one/static/cloud.js
View file @
6823e692
...
...
@@ -76,11 +76,9 @@ $(function() {
$
(
'.quota .used'
).
each
(
function
()
{
var
s
=
this
;
$
(
this
).
css
(
'backgroundColor'
,
function
(
w
)
{
console
.
log
(
s
,
parseFloat
(
w
));
return
'hsla('
+
(
120
-
parseFloat
(
w
)
/
438
*
120
).
toFixed
(
0
)
+
',100%,50%,0.2)'
;
}(
$
(
this
).
css
(
'width'
)));
if
(
parseInt
(
$
(
this
).
css
(
'width'
))
>
0
)
$
(
this
).
css
(
'borderRight'
,
function
(
w
)
{
console
.
log
(
s
,
parseFloat
(
w
));
return
'1px solid hsla('
+
(
120
-
parseFloat
(
w
)
/
438
*
120
).
toFixed
(
0
)
+
',100%,30%,0.4)'
;
}(
$
(
this
).
css
(
'width'
)));
});
...
...
@@ -320,7 +318,6 @@ $(function() {
toggleDetails
.
call
(
e
.
currentTarget
);
}
};
console
.
log
(
viewData
);
}
self
.
files
.
push
(
viewData
);
}
...
...
@@ -397,7 +394,6 @@ $(function() {
url
:
'/ajax/store/rename'
,
dataType
:
'json'
,
success
:
function
(
data
)
{
console
.
log
(
data
);
loadFolder
(
self
.
currentPath
());
}
})
...
...
@@ -471,11 +467,7 @@ $(function() {
var
xhr
=
new
XMLHttpRequest
();
var
start
=
new
Date
().
getTime
();
xhr
.
open
(
'POST'
,
self
.
uploadURL
());
xhr
.
onreadystatechange
=
function
()
{
console
.
log
(
xhr
,
arguments
)
}
xhr
.
onload
=
xhr
.
onerror
=
function
()
{
console
.
log
(
xhr
.
status
);
$
(
'.file-upload'
).
removeClass
(
'opened'
);
$
(
'.file-upload .details'
).
slideUp
(
700
);
$
(
'#upload-zone'
).
show
();
...
...
@@ -562,16 +554,12 @@ $(function() {
var
model
=
new
Model
();
ko
.
applyBindings
(
model
);
document
.
addEventListener
(
'dragenter'
,
function
(
e
)
{
console
.
log
(
'enter'
);
//$('.file-upload .summary').click();
e
.
stopPropagation
();
e
.
preventDefault
();
return
false
;
});
document
.
addEventListener
(
'drag'
,
function
(
e
)
{
console
.
log
(
'drag'
);
//$('.file-upload .summary').click();
e
.
stopPropagation
();
e
.
preventDefault
();
return
false
;
...
...
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