Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.10.3
-
None
-
Tomcat 7
Java 8
JSPWiki v2.10.3-git-27
Description
Example: https://jspwiki-wiki.apache.org/Wiki.jsp?page=GraphBars
IE11 create an javascript exception because object c010 does not implement remove() method.
Patch
Index: jspwiki-war/src/main/scripts/moo-extend/Color.js IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- jspwiki-war/src/main/scripts/moo-extend/Color.js (revision 2e3da23a887548876fa7f61303efaf1fa15fc333) +++ jspwiki-war/src/main/scripts/moo-extend/Color.js (revision ) @@ -59,7 +59,6 @@ c0l0r.inject(document.body); color = ( color.test(/^[\da-f]{3,6}$/i) ? ("#" + color) : c0l0r.setStyle('color',color).getComputedStyle('color').rgbToHex() ).hexToRgb(true); //[r,g,b] - c0l0r.remove(); } if(!color){ return null; }