1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-26 06:50:09 +03:00

Feature #4217: trim tips content

This commit is contained in:
Daniel Molina 2016-02-11 13:27:26 +01:00
parent 7f408c37a0
commit 378aca9d1d

View File

@ -35,13 +35,13 @@ define(function(require) {
}
//replace the text with an icon and spans
//obj.html('<span data-tooltip class="' + tip_classes.join(' ') + '" data-width="210" title="' + tip + '"><i class="fa fa-question-circle"></i></span>');
obj.html('<span title="' + tip + '"><i class="fa fa-question-circle"></i></span>');
obj.html('<span title="' + $.trim(tip) + '"><i class="fa fa-question-circle"></i></span>');
});
}
var _html = function(str) {
//return '<span data-tooltip class="" data-width="210" title="' + str + '"><i class="fa fa-question-circle"></i></span>'
return '<span title="' + str + '"><i class="fa fa-question-circle"></i></span>';
return '<span title="' + $.trim(str) + '"><i class="fa fa-question-circle"></i></span>';
}
return {