fix console.log
bzr revid: al@openerp.com-20110317170808-lwqxymfye4obfssg
This commit is contained in:
parent
8adb97729a
commit
c27fc11c2f
|
@ -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() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue