Author: nbelaevski
Date: 2007-11-29 13:05:20 -0500 (Thu, 29 Nov 2007)
New Revision: 4360
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/extend.js
Log:
extend.js fixed for new prototype
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/extend.js
===================================================================
---
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/extend.js 2007-11-29
17:56:20 UTC (rev 4359)
+++
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/extend.js 2007-11-29
18:05:20 UTC (rev 4360)
@@ -174,7 +174,7 @@
}
Class._create = Class.create
Class.create = function( declaration ) {
- var new_class = Extend.setupClass(Class._create(declaration), declaration)
+ var new_class = Extend.setupClass(declaration ? Class._create(declaration) :
Class._create(), declaration)
// The following only works on FireFox
/*
new_class.watch("prototype", function(id,oldval,newval) {