[SPIP Zone] [Spip-zone-commit] r8313 - /_plugins_/_stable_/crayons/crayons.js

gilles.vincent@gmail.com wrote:

Author: gilles.vincent@gmail.com
Date: Thu Dec 28 19:25:21 2006
New Revision: 8313

Log:
Petit bug : l'icône de modification n'indiquait pas quel élément était modifié
  

hihi :slight_smile: Bien joué ! Je suis rouge de honte :-[
--
toggg

Modified:
    _plugins_/_stable_/crayons/crayons.js

Modified: _plugins_/_stable_/crayons/crayons.js

--- _plugins_/_stable_/crayons/crayons.js (original)
+++ _plugins_/_stable_/crayons/crayons.js Thu Dec 28 19:25:21 2006
@@ -31,10 +31,10 @@
     '">' + this.mkimg('edit', ' (' + link[1] + ' ' + link[2] + ')') + '</a><br />' : '';
    var cray = c.match(/\b\w+-(\w+)-\d+\b/);
- cray = !cray ? '' : this.mkimg('pencil', ' (' + cray[1] + ')') + '<br />';
+ var boite = !cray ? '' : this.mkimg('pencil', ' (' + cray[1] + ')') + '<br />';
    return "<span class='crayon-icones'><span>" +
- cray + link +
+ boite + link +
       this.mkimg('img-changed', cray ? ' (' + cray[1] + ')': '') +
     "</span></span>";
}

_______________________________________________
Spip-zone-commit@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-zone-commit