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
b9372b31
authored
Apr 18, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: magic try-catch added
parent
7f856315
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
one/static/script/cloud.js
+4
-0
No files found.
one/static/script/cloud.js
View file @
b9372b31
var
toggleDetails
;
var
toggleDetails
;
$
(
function
()
{
$
(
function
()
{
toggleDetails
=
function
()
{
toggleDetails
=
function
()
{
try
{
if
(
$
(
this
).
parent
(
'.entry'
).
hasClass
(
'opened'
))
{
if
(
$
(
this
).
parent
(
'.entry'
).
hasClass
(
'opened'
))
{
$
(
this
).
parent
(
'.entry'
).
removeClass
(
'opened'
);
$
(
this
).
parent
(
'.entry'
).
removeClass
(
'opened'
);
$
(
this
).
next
(
'.details'
).
css
(
'height'
,
'0px'
);
$
(
this
).
next
(
'.details'
).
css
(
'height'
,
'0px'
);
...
@@ -13,6 +14,9 @@ $(function() {
...
@@ -13,6 +14,9 @@ $(function() {
$
(
this
).
next
(
'.details'
).
find
(
'.details-container'
)[
0
].
offsetHeight
+
15
+
'px'
);
$
(
this
).
next
(
'.details'
).
find
(
'.details-container'
)[
0
].
offsetHeight
+
15
+
'px'
);
}
}
}
}
}
catch
(
ex
)
{
//make sure we never fail :-)
}
}
}
$
(
'a[href=#]'
).
click
(
function
(
e
)
{
$
(
'a[href=#]'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
...
...
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