Opened 13 years ago

Closed 12 years ago

#797 closed defect (fixed)

Naming and IDing the IFrame

Reported by: guest Owned by: akaEdge
Priority: normal Milestone:
Component: Documentation Version:
Severity: normal Keywords:
Cc:

Description

I couldn't see anywhere in the source where the dynamic Iframe is either named or ID'ed.

I've added the following lines at line 1334 in HTMLArea.js which I'd like to submit for inclusion:

iframe.name = "iframe_" + this._textArea.id;
iframe.id = "iframe_" + this._textArea.id;

The reason for this is for integration with ASP Spellcheck (code below if anyone else wants to integrate):

xinha_config.registerButton("spellcheck", "Spell check the WYSIWYG", "/edit/_js/xinha/images/spellcheck.gif", false, function(editor) {

editor._popupDialog("../../ASPSpellCheck/ASPSpellCheck.asp?fields=iframe:" +editor._iframe.name,

null,
null);

editor.updateToolbar();

}

);

Change History (1)

comment:1 Changed 12 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

in the meantime this has happened

Note: See TracTickets for help on using tickets.