Removed dependency to underscore.string in openerpframework.js
bzr revid: nicolas.vanhoren@openerp.com-20130731144805-9hbxxfbrweb0clhx
This commit is contained in:
@@ -622,8 +622,7 @@ openerp.web.Widget = openerp.web.Class.extend(openerp.web.PropertiesMixin, {
|
||||
renderElement: function() {
|
||||
var $el;
|
||||
if (this.template) {
|
||||
$el = $(_.str.trim(openerp.web.qweb.render(
|
||||
this.template, {widget: this})));
|
||||
$el = $(openerp.web.qweb.render(this.template, {widget: this}).trim());
|
||||
} else {
|
||||
$el = this._make_descriptive();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user