Extra commas in composer_widgets.js breaks use of IE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have a need to use Internet Explorer with the latest version of Graphite.
Whenever attempting to use the intro graphite page on 0.9.9 with IE 8 - I get the following error.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; InfoPath.2)
Timestamp: Thu, 10 Nov 2011 21:54:20 UTC
Message: 'tagName' is null or not an object
Line: 11
Char: 27093
Code: 0
URI: https:/
I'm trying to debug the issue, but not much luck so far.
details:
graphite-
django-
Django-1.1.4-1.el5
python-2.4.3-27.el5
python-
python-
dbus-python-
python-
python-
The fix was to remove extra commas from composer_
/usr/share/
diff composer_widgets.js composer_
1052c1052
< menuRadioItem(
---
> menuRadioItem(
1076c1076
< menuInputItem("Left Line Dashed (length, in px)", "leftDashed")
---
> menuInputItem("Left Line Dashed (length, in px)", "leftDashed"),
1088c1088
< menuInputItem(
---
> menuInputItem(
Changed in graphite: | |
milestone: | none → 0.9.10 |
Changed in graphite: | |
status: | Fix Committed → Fix Released |
Adding in patch file:
cat /tmp/composer_ widgets. js.patch widgets. js.orig 2011-11-14 12:52:03.000000000 -0500
menuRadioItem( "yAxis" , "Left", "yAxisSide", "left"), "yAxis" , "Right", "yAxisSide", "right"), "yAxis" , "Right", "yAxisSide", "right")
--- composer_
+++ composer_widgets.js 2011-11-15 10:30:11.000000000 -0500
@@ -1049,7 +1049,7 @@
var yAxisSideMenu = new Ext.menu.Menu({
items: [
- menuRadioItem(
+ menuRadioItem(
]
});
@@ -1073,7 +1073,7 @@
menuInputItem( "Left Y Step", "yStepLeft"),
menuInputItem( "Left Line Width", "leftWidth"),
menuInputItem( "Left Line Color", "leftColor"),
- menuInputItem("Left Line Dashed (length, in px)", "leftDashed"),
+ menuInputItem("Left Line Dashed (length, in px)", "leftDashed")
]
menuInputItem( "Right Y Step", "yStepRight"),
menuInputItem( "Right Line Width", "rightWidth"),
menuInputItem( "Right Line Color", "rightColor"), "Right Line Dashed (length, in px)", "rightDashed"), "Right Line Dashed (length, in px)", "rightDashed")
});
@@ -1085,7 +1085,7 @@
- menuInputItem(
+ menuInputItem(
]
});