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
7f2b2920
authored
Feb 06, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: file remove animation added
parent
878fdd71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
one/static/cloud.js
+11
-0
one/templates/box-filelist.html
+1
-1
No files found.
one/static/cloud.js
View file @
7f2b2920
...
@@ -308,6 +308,17 @@ $(function() {
...
@@ -308,6 +308,17 @@ $(function() {
$
(
e
).
hide
().
slideDown
(
500
);
$
(
e
).
hide
().
slideDown
(
500
);
}
}
self
.
fadeOutFile
=
function
(
e
)
{
try
{
$
(
e
).
slideUp
(
500
,
function
()
{
console
.
log
(
'sssaa'
,
e
);
e
.
parentNode
.
removeChild
(
e
);
});
}
catch
(
ex
)
{
e
.
parentNode
.
removeChild
(
e
);
}
}
/**
/**
* Downloads the specified file (or folder zipped)
* Downloads the specified file (or folder zipped)
*/
*/
...
...
one/templates/box-filelist.html
View file @
7f2b2920
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</div>
</div>
</li>
</li>
<!-- ko foreach: {data:files,afterAdd:fadeIn} -->
<!-- ko foreach: {data:files,afterAdd:fadeIn
,beforeRemove:fadeOutFile
} -->
<li
class=
"wm real"
>
<li
class=
"wm real"
>
<div
class=
"summary"
data-bind=
"click: clickHandler"
>
<div
class=
"summary"
data-bind=
"click: clickHandler"
>
<div
class=
"name"
data-bind=
"text: name, attr: {class: getTypeClass}"
></div>
<div
class=
"name"
data-bind=
"text: name, attr: {class: getTypeClass}"
></div>
...
...
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