[FIX] don't require an extended class to have a method yet to allow it to be overloaded
bzr revid: xmo@openerp.com-20120614123024-ngby1srdwojv5rmb
This commit is contained in:
@@ -42,7 +42,6 @@ openerp.web.core = function(openerp) {
|
||||
for (var name in prop) {
|
||||
// Check if we're overwriting an existing function
|
||||
prototype[name] = typeof prop[name] == "function" &&
|
||||
typeof _super[name] == "function" &&
|
||||
fnTest.test(prop[name]) ?
|
||||
(function(name, fn) {
|
||||
return function() {
|
||||
|
||||
Reference in New Issue
Block a user