Copie du formulaire de renommage des contenus (à partir du CMFDefault).
[Plinn.git] / skins / ajax_scripts / javascript_events_api.js
index 14c6dfe..71baec7 100644 (file)
@@ -302,7 +302,7 @@ else {
 * http://www.sitepoint.com/blogs/2006/01/17/javascript-inheritance/
 */
 
-var copyPrototype = function (descendant, parent) { 
+copyPrototype = function (descendant, parent) { 
        var sConstructor = parent.toString(); 
        var aMatch = sConstructor.match( /\s*function (.*)\(/ );
        if ( aMatch !== null ) { descendant.prototype[aMatch[1]] = parent; }