// © Benoît PIN 2006-2008
// http://plinn.org
// Licence GPL
-// $Id: growable_table.js 1473 2009-03-06 17:02:21Z pin $
-// $URL: http://svn.cri.ensmp.fr/svn/Plinn/branches/CMF-2.1/skins/ajax_scripts/growable_table.js $
+//
+//
// GrowableTable: functions to edit quickly table form entries.
function GrowableTable(tbody, fieldsDescription, submitExtName, skipFormManagerInit) {
* http://www.sitepoint.com/blogs/2006/01/17/javascript-inheritance/
*/
-function copyPrototype(descendant, parent) {
- var sConstructor = parent.toString();
- var aMatch = sConstructor.match( /\s*function (.*)\(/ );
- if ( aMatch != null ) { descendant.prototype[aMatch[1]] = parent; }
- for (var m in parent.prototype) {
- descendant.prototype[m] = parent.prototype[m];
- }
-}
+// déplacé dans javascript_events_api.js
+
+// function copyPrototype(descendant, parent) {
+// var sConstructor = parent.toString();
+// var aMatch = sConstructor.match( /\s*function (.*)\(/ );
+// if ( aMatch != null ) { descendant.prototype[aMatch[1]] = parent; }
+// for (var m in parent.prototype) {
+// descendant.prototype[m] = parent.prototype[m];
+// }
+// }