Revision 21387cf4
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_icon_view.js | ||
---|---|---|
476 | 476 |
} |
477 | 477 |
|
478 | 478 |
// create element |
479 |
var new_el = $(this.tag_tpl.format(util.truncate(key, this.tag_key_truncate), |
|
480 |
util.truncate(": " + _.escape(value), this.tag_value_truncate))); |
|
479 |
var _key = _.escape(util.truncate(key, this.tag_key_truncate)); |
|
480 |
var _value = _.escape(util.truncate(": " + value, this.tag_value_truncate)); |
|
481 |
var new_el = $(this.tag_tpl.format(_key, _value)); |
|
481 | 482 |
|
482 | 483 |
// add title attributes, improve accesibility |
483 | 484 |
// truncated values |
Also available in: Unified diff