Ticket #2530114 (closed defect)

Reporter


Andrew Wooldridge
Opened: 04/15/11
Last modified: 04/15/11
Status: closed
Type: defect
Resolution: invalid

Owner


Dav Glass
Target Release:
Priority: P3 (normal)
Summary: Y.Frame "name" config does not do anything
Description:

In the docs: http://developer.yahoo.com/yui/3/api/Frame.html
one of the config attributes is "NAME" which I assume to be the classname set on the iframe?
currently I looked in the js :
https://github.com/yui/yui3/blob/master/src/editor/js/frame.js#L52
and in the
_create:
function I dont see NAME being used to set anything.

Looks like there needs to be code added to set the classname of the newly created frame to be the value of the NAME property.

Type: defect Observed in Version: 3.3.0
Component: Editor Severity: S3 (normal)
Assigned To: Dav Glass Target Release:
Location: Priority: P3 (normal)
Tags: Relates To:
Browsers: All
URL: http://jsfiddle.net/triptych/7HHph/
Test Information:

Change History

Andrew Wooldridge

YUI Contributor

Posted: 04/15/11
  • testurl changed to http://jsfiddle.net/triptych/7HHph/

Dav Glass

YUI Developer

Posted: 04/15/11
  • priority changed to P3 (normal)
  • resolution changed to invalid
  • status changed from new to closed

That is the name of the "CLASS" not a classname to apply to the frame. All Base derived classes have a static NAME property to identify itself in the component lifecycle.