Édition de l'url du serveur Solr.
[Plinn.git] / skins / ajax_scripts / growable_table.js
index f1d21d3..b7fcf1f 100644 (file)
@@ -1,8 +1,8 @@
 // © 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) {
@@ -290,11 +290,13 @@ GrowableTable.prototype.cancelRow = function(element) {
 * 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]; 
+//     }
+// }