Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#9466 closed defect (fixed)

setting bgcolor, boardcolor, etc attributes in Dojox.edior.plugins.tablePlugins don't work in IE

Reported by: cz15n Owned by: Mike Wilcox
Priority: high Milestone: 1.5
Component: Editor Version: 1.3.0
Keywords: editor tablePlugins attributes Cc:
Blocked By: Blocking:


in dojox.editor.plugins.TablePlugins?.js line 972,

onSet: function(){
	dojo.attr(this.table, "bordercolor", this.brdColor);
	dojo.attr(this.table, "bgcolor", this.bkColor);
	dojo.attr(this.table, "width", (this.selectWidth.attr("value") + ((this.selectWidthType.attr("value")=="pixels")?"":"%") ));
	dojo.attr(this.table, "border", this.selectBorder.attr("value"));
	dojo.attr(this.table, "cellpadding", this.selectPad.attr("value"));
	dojo.attr(this.table, "cellspacing", this.selectSpace.attr("value"));
	dojo.attr(this.table, "align", this.selectAlign.attr("value"));

IE won't recognized the name "bordercolor", "bgcolor", "cellpadding" or "cellspacing". Use "borderColor", "bgColor", "cellPadding" or "cellSpacing" instead which will work work in both IE and FF.

Change History (5)

comment:1 Changed 13 years ago by Adam Peller

Owner: changed from liucougar to Mike Wilcox

Sounds like this might be worth fixing for 1.3.2

comment:2 Changed 13 years ago by Adam Peller


comment:3 Changed 13 years ago by Mike Wilcox

Milestone: 1.4future

comment:4 Changed 12 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

This was fixed.

comment:5 Changed 12 years ago by Jared Jurkiewicz

Milestone: future1.5
Note: See TracTickets for help on using tickets.