Removed dependency to underscore.string in openerpframework.js

bzr revid: nicolas.vanhoren@openerp.com-20130731144805-9hbxxfbrweb0clhx
This commit is contained in:
niv-openerp
2013-07-31 16:48:05 +02:00
parent c8142aa421
commit aa5c781d90
+1 -2
View File
@@ -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();
}