Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
61fdd137
authored
Feb 18, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: fancy animations added to group hiding
parent
b28bc4c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
one/static/cloud.js
+4
-2
No files found.
one/static/cloud.js
View file @
61fdd137
...
@@ -318,7 +318,7 @@ $(function() {
...
@@ -318,7 +318,7 @@ $(function() {
hidden_groups_for_user
.
push
(
id
);
hidden_groups_for_user
.
push
(
id
);
hidden_groups
[
current_user
]
=
hidden_groups_for_user
;
hidden_groups
[
current_user
]
=
hidden_groups_for_user
;
window
.
localStorage
.
setItem
(
'hidden_groups'
,
JSON
.
stringify
(
hidden_groups
));
window
.
localStorage
.
setItem
(
'hidden_groups'
,
JSON
.
stringify
(
hidden_groups
));
$
(
'#group-'
+
id
).
hide
(
);
$
(
'#group-'
+
id
).
slideUp
(
700
);
}
}
function
hide_groups
(){
function
hide_groups
(){
...
@@ -346,7 +346,9 @@ $(function() {
...
@@ -346,7 +346,9 @@ $(function() {
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
preventDefault
();
e
.
stopPropagation
();
show_hidden_groups
();
show_hidden_groups
();
$
(
'#groups > li'
).
each
(
function
(){
$
(
'#groups > li'
).
each
(
function
(){
$
(
this
).
show
();
if
(
$
(
this
).
is
(
':hidden'
)){
$
(
this
).
slideDown
(
700
);
}
})
})
})
})
...
...
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