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
a2ee4f5a
authored
Feb 08, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: group-creator ui interactions added
parent
16ab76f1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletions
+18
-1
one/static/cloud.js
+18
-1
No files found.
one/static/cloud.js
View file @
a2ee4f5a
...
...
@@ -71,7 +71,24 @@ $(function() {
});
$
(
'#new-folder'
).
click
(
function
()
{
$
(
'#new-folder-form input'
)[
0
].
focus
();
})
});
$
(
'#new-group'
).
click
(
function
(){
var
content
=
$
(
'#new-group-wizard'
).
html
();
$
(
'#new-group-wizard'
).
parent
()[
0
].
removeChild
(
$
(
'#new-group-wizard'
)[
0
]);
$
(
'#modal'
).
show
();
$
(
'#modal-container'
).
html
(
content
);
function
updateSummary
(){
$
(
'#new-group-summary-name'
).
html
(
$
(
'#new-group-name'
).
val
());
$
(
'#new-group-summary-count'
).
html
(
function
(
text
){
var
m
=
text
.
match
(
/
\s
*
[
a-z
][
0-9a-z
]{5}\s
*
(\r
|
\n
|$
)
+/gi
);
return
m
?
m
.
length
:
0
;
}(
$
(
'#new-group-members'
).
val
()));
$
(
'#new-group-summary-semester'
).
html
(
$
(
'#new-group-semester'
)[
0
].
options
[
$
(
'#new-group-semester'
)[
0
].
selectedIndex
].
innerHTML
)
}
$
(
'#new-group-name'
).
change
(
updateSummary
);
$
(
'#new-group-semester'
).
change
(
updateSummary
);
$
(
'#new-group-members'
).
change
(
updateSummary
);
});
/**
* Convert bytes to human readable format
...
...
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