Opened 11 years ago

Closed 11 years ago

#7517 closed defect (fixed)

Editor Plugins need to be converted from setValue to obj.attr(.. method.

Reported by: taras Owned by: bill
Priority: high Milestone: 1.2
Component: Dijit Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description

Hi

When using the following dijit Editor plugins:

[1] {name:'dijit._editor.plugins.FontChoice', command:'fontName', generic:true} [2] fontSize

The following error is displayed in the debug console:

"DEPRECATED: dijit.form._FormWidget:setValue() is deprecated. Use attr('value',) instead. -- will be removed in version: 2.0"

The setValue need to be replaced by the new attr method.

See for Example in FontChoice?.js: this.button.setValue("");

thanks !

Change History (2)

comment:1 Changed 11 years ago by bill

Milestone: tbd1.2
Owner: set to bill

I'll do this after the rollback of the iframe changes settles down. (Unless someone else wants to grab it.)

comment:2 Changed 11 years ago by bill

Resolution: fixed
Status: newclosed

(In [15034]) Conversion to attr() instead of setValue()/setContent(). Fixes #7517 !strict.

Note: See TracTickets for help on using tickets.