fix console.log

bzr revid: al@openerp.com-20110317170808-lwqxymfye4obfssg
This commit is contained in:
Antony Lesuisse 2011-03-17 18:08:08 +01:00
parent 8adb97729a
commit c27fc11c2f
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ openerp.base.BasicController = Class.extend({
this.on_log.apply(this,args);
},
on_log: function() {
console.log(arguments);
if(window.console)
console.log(arguments);
},
on_ready: function() {
}