[REM] Removed openerp.log
bzr revid: fme@openerp.com-20120611091909-269ukzc2gftkwuma
This commit is contained in:
parent
8bb17f1f3c
commit
3f6a65ea01
|
@ -54,11 +54,6 @@ openerp.web = function(session) {
|
||||||
openerp.web[files[i]](session);
|
openerp.web[files[i]](session);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
session.log = function() {
|
|
||||||
if (session.connection.debug && window.console) {
|
|
||||||
console.log.apply(console, arguments);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// vim:et fdc=0 fdl=0 foldnestmax=3 fdm=syntax:
|
// vim:et fdc=0 fdl=0 foldnestmax=3 fdm=syntax:
|
||||||
|
|
|
@ -140,7 +140,6 @@ instance.web.Dialog = instance.web.Widget.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
on_resized: function() {
|
on_resized: function() {
|
||||||
//openerp.log("Dialog resized to %d x %d", this.$element.width(), this.$element.height());
|
|
||||||
},
|
},
|
||||||
destroy: function () {
|
destroy: function () {
|
||||||
this.close();
|
this.close();
|
||||||
|
|
|
@ -728,7 +728,6 @@ instance.web.FormView = instance.web.View.extend(_.extend({}, instance.web.form.
|
||||||
if (this.sidebar) {
|
if (this.sidebar) {
|
||||||
this.sidebar.do_attachement_update(this.dataset, this.datarecord.id);
|
this.sidebar.do_attachement_update(this.dataset, this.datarecord.id);
|
||||||
}
|
}
|
||||||
//instance.log("The record has been created with id #" + this.datarecord.id);
|
|
||||||
this.reload();
|
this.reload();
|
||||||
return $.when(_.extend(r, {created: true})).then(success);
|
return $.when(_.extend(r, {created: true})).then(success);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue