[
https://issues.apache.org/jira/browse/JSPWIKI-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
brushed resolved JSPWIKI-1045.
------------------------------
Resolution: Fixed
Fix Version/s: 2.10.3
Solved in 2.10.3-git-28
> IE11 rendering is broken for %%graphBars using color names
> ----------------------------------------------------------
>
> Key: JSPWIKI-1045
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1045
> Project: JSPWiki
> Issue Type: Bug
> Components: Templates and UI
> Affects Versions: 2.10.3
> Environment: Tomcat 7
> Java 8
> JSPWiki v2.10.3-git-27
> Reporter: E.Poth
> Assignee: brushed
> Fix For: 2.10.3
>
>
> Example: [https://jspwiki-wiki.apache.org/Wiki.jsp?page=GraphBars]
> ----
> IE11 create an javascript exception because object *c010* does not implement
> *remove()* method.
> ----
> {code:title=Patch|borderStyle=solid}
> 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; }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)