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
1e02b89c
authored
Mar 05, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: whitespace fix
parent
f84f4f68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
one/static/script/cloud.js
+11
-11
No files found.
one/static/script/cloud.js
View file @
1e02b89c
...
@@ -423,16 +423,16 @@ $(function() {
...
@@ -423,16 +423,16 @@ $(function() {
user_boxes
.
splice
(
i
,
1
);
user_boxes
.
splice
(
i
,
1
);
boxes
[
current_user
]
=
user_boxes
;
boxes
[
current_user
]
=
user_boxes
;
window
.
localStorage
.
setItem
(
'hidden_boxes'
,
JSON
.
stringify
(
boxes
));
window
.
localStorage
.
setItem
(
'hidden_boxes'
,
JSON
.
stringify
(
boxes
));
$
(
'#toggle-box-'
+
id
).
attr
(
'src'
,
'/static/icons/eye-half.png'
);
$
(
'#toggle-box-'
+
id
).
attr
(
'src'
,
'/static/icons/eye-half.png'
);
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
().
slideDown
(
700
);
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
().
slideDown
(
700
);
return
;
return
;
}
}
}
}
user_boxes
.
push
(
id
);
user_boxes
.
push
(
id
);
boxes
[
current_user
]
=
user_boxes
;
boxes
[
current_user
]
=
user_boxes
;
$
(
'#toggle-box-'
+
id
).
attr
(
'src'
,
'/static/icons/eye.png'
);
$
(
'#toggle-box-'
+
id
).
attr
(
'src'
,
'/static/icons/eye.png'
);
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
().
slideUp
(
700
);
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
().
slideUp
(
700
);
console
.
log
(
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
()[
0
])
console
.
log
(
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
()[
0
])
window
.
localStorage
.
setItem
(
'hidden_boxes'
,
JSON
.
stringify
(
boxes
));
window
.
localStorage
.
setItem
(
'hidden_boxes'
,
JSON
.
stringify
(
boxes
));
}
}
...
@@ -448,16 +448,16 @@ $(function() {
...
@@ -448,16 +448,16 @@ $(function() {
return
false
;
return
false
;
}
}
$
(
'.toggle-box'
).
each
(
function
(){
$
(
'.toggle-box'
).
each
(
function
()
{
var
id
=
$
(
this
).
data
(
'id'
);
var
id
=
$
(
this
).
data
(
'id'
);
$
(
this
).
click
(
function
(){
$
(
this
).
click
(
function
()
{
toggle_box
(
id
);
toggle_box
(
id
);
});
});
if
(
box_hidden
(
id
))
{
if
(
box_hidden
(
id
))
{
$
(
this
).
attr
(
'src'
,
'/static/icons/eye.png'
);
$
(
this
).
attr
(
'src'
,
'/static/icons/eye.png'
);
$
(
this
).
parent
().
parent
().
parent
().
next
().
hide
();
$
(
this
).
parent
().
parent
().
parent
().
next
().
hide
();
}
else
{
}
else
{
$
(
this
).
attr
(
'src'
,
'/static/icons/eye-half.png'
);
$
(
this
).
attr
(
'src'
,
'/static/icons/eye-half.png'
);
}
}
})
})
...
...
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