X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/99afe0ce8700bf835ff7bbedf77bb46e58f996d8..feb12ae288263dbeb490147bbcd4e0a6d134da5f:/skins/ajax_scripts/growable_table.js

diff --git a/skins/ajax_scripts/growable_table.js b/skins/ajax_scripts/growable_table.js
index 4ddaaec..b7fcf1f 100644
--- a/skins/ajax_scripts/growable_table.js
+++ b/skins/ajax_scripts/growable_table.js
@@ -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]; 
+// 	}
+// }