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
092389a8
authored
Feb 18, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: hide disabled buttons
parent
61fdd137
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
one/static/cloud.js
+12
-1
No files found.
one/static/cloud.js
View file @
092389a8
...
...
@@ -337,21 +337,32 @@ $(function() {
}
hide_groups
();
function
hidden_group_count
(){
var
hidden_groups
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'hidden_groups'
))
||
{};
return
(
hidden_groups
[
current_user
]
||
[]).
length
;
}
if
(
hidden_group_count
()
==
0
){
$
(
'#show-hidden-groups'
).
hide
();
}
$
(
'.hide-group'
).
click
(
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
hide_group
(
$
(
this
).
data
(
'id'
));
if
(
$
(
'#show-hidden-groups'
).
is
(
':hidden'
)){
$
(
'#show-hidden-groups'
).
slideDown
(
700
);
}
return
false
;
});
$
(
'#show-hidden-groups'
).
click
(
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
show_hidden_groups
();
$
(
'#show-hidden-groups'
).
slideUp
(
700
);
$
(
'#groups > li'
).
each
(
function
(){
if
(
$
(
this
).
is
(
':hidden'
)){
$
(
this
).
slideDown
(
700
);
}
})
})
$
(
'#new-member'
).
click
(
function
()
{
$
(
'#new-member-form'
).
toggle
();
});
...
...
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