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
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() {
user_boxes
.
splice
(
i
,
1
);
boxes
[
current_user
]
=
user_boxes
;
window
.
localStorage
.
setItem
(
'hidden_boxes'
,
JSON
.
stringify
(
boxes
));
$
(
'#toggle-box-'
+
id
).
attr
(
'src'
,
'/static/icons/eye-half.png'
);
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
().
slideDown
(
700
);
$
(
'#toggle-box-'
+
id
).
attr
(
'src'
,
'/static/icons/eye-half.png'
);
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
().
slideDown
(
700
);
return
;
}
}
user_boxes
.
push
(
id
);
boxes
[
current_user
]
=
user_boxes
;
$
(
'#toggle-box-'
+
id
).
attr
(
'src'
,
'/static/icons/eye.png'
);
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
().
slideUp
(
700
);
console
.
log
(
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
()[
0
])
$
(
'#toggle-box-'
+
id
).
attr
(
'src'
,
'/static/icons/eye.png'
);
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
().
slideUp
(
700
);
console
.
log
(
$
(
'#toggle-box-'
+
id
).
parent
().
parent
().
parent
().
next
()[
0
])
window
.
localStorage
.
setItem
(
'hidden_boxes'
,
JSON
.
stringify
(
boxes
));
}
...
...
@@ -448,16 +448,16 @@ $(function() {
return
false
;
}
$
(
'.toggle-box'
).
each
(
function
(){
var
id
=
$
(
this
).
data
(
'id'
);
$
(
this
).
click
(
function
(){
$
(
'.toggle-box'
).
each
(
function
()
{
var
id
=
$
(
this
).
data
(
'id'
);
$
(
this
).
click
(
function
()
{
toggle_box
(
id
);
});
if
(
box_hidden
(
id
))
{
$
(
this
).
attr
(
'src'
,
'/static/icons/eye.png'
);
if
(
box_hidden
(
id
))
{
$
(
this
).
attr
(
'src'
,
'/static/icons/eye.png'
);
$
(
this
).
parent
().
parent
().
parent
().
next
().
hide
();
}
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