Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
89dd87d8
Commit
89dd87d8
authored
Feb 21, 2014
by
Kostas Papadimitriou
Browse files
ui: Escape vm metadata keys in vm list item views (icon/single)
parent
bf44e0c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_icon_view.js
View file @
89dd87d8
...
...
@@ -476,8 +476,9 @@
}
// create element
var
new_el
=
$
(
this
.
tag_tpl
.
format
(
util
.
truncate
(
key
,
this
.
tag_key_truncate
),
util
.
truncate
(
"
:
"
+
_
.
escape
(
value
),
this
.
tag_value_truncate
)));
var
_key
=
_
.
escape
(
util
.
truncate
(
key
,
this
.
tag_key_truncate
));
var
_value
=
_
.
escape
(
util
.
truncate
(
"
:
"
+
value
,
this
.
tag_value_truncate
));
var
new_el
=
$
(
this
.
tag_tpl
.
format
(
_key
,
_value
));
// add title attributes, improve accesibility
// truncated values
...
...
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