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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
20fcdf2c
authored
Feb 05, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: old JS debug messages removed
parent
a12a1c6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
one/static/cloud.js
+0
-10
No files found.
one/static/cloud.js
View file @
20fcdf2c
...
...
@@ -32,7 +32,6 @@ $(function() {
$
(
this
).
parent
(
'.wm'
).
removeClass
(
'opened'
);
$
(
this
).
next
(
'.details'
).
slideUp
(
700
);
}
else
{
console
.
log
(
'addClass'
);
$
(
this
).
parent
(
'.wm'
).
addClass
(
'opened'
);
$
(
this
).
next
(
'.details'
).
slideDown
(
700
);
}
...
...
@@ -86,7 +85,6 @@ $(function() {
var
disabled
=
false
;
return
function
()
{
if
(
disabled
)
{
console
.
log
(
'disabled'
);
return
};
disabled
=
true
;
...
...
@@ -218,8 +216,6 @@ $(function() {
success
:
function
(
data
)
{
self
.
uploadURL
(
data
.
url
);
}
}).
error
(
function
()
{
console
.
log
(
'asd'
,
arguments
)
})
}
self
.
newFolderName
=
ko
.
observable
();
...
...
@@ -252,14 +248,12 @@ $(function() {
if
(
tests
.
formdata
)
{
var
xhr
=
new
XMLHttpRequest
();
xhr
.
open
(
'POST'
,
self
.
uploadURL
());
console
.
log
(
xhr
);
xhr
.
onload
=
function
()
{
self
.
uploadProgress
(
'0%'
);
loadFolder
(
self
.
currentPath
());
};
if
(
tests
.
progress
)
{
xhr
.
upload
.
onprogress
=
function
(
event
)
{
console
.
log
(
event
);
if
(
event
.
lengthComputable
)
{
var
complete
=
(
event
.
loaded
/
event
.
total
*
100
|
0
);
//progress.value = progress.innerHTML = complete;
...
...
@@ -272,10 +266,8 @@ $(function() {
}
}
document
.
addEventListener
(
'drop'
,
function
(
e
)
{
console
.
log
(
e
);
e
.
stopPropagation
();
e
.
preventDefault
();
console
.
log
(
e
.
dataTransfer
.
files
)
readfiles
(
e
.
dataTransfer
.
files
);
return
false
;
});
...
...
@@ -309,13 +301,11 @@ $(function() {
var
model
=
new
Model
();
ko
.
applyBindings
(
model
);
document
.
addEventListener
(
'dragenter'
,
function
(
e
)
{
console
.
log
(
e
);
e
.
stopPropagation
();
e
.
preventDefault
();
return
false
;
});
document
.
addEventListener
(
'dragover'
,
function
(
e
)
{
console
.
log
(
e
);
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