Ticket #1903 (new Bug)

Opened 9 months ago

Last modified 9 months ago

Cursor is not coming when string inserted via javascript

Reported by: mayank1711 Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.5.1
Keywords: Cc:

Description (last modified by w.olchawa) (diff)

Don't know if it is problem of FCKeditor or Javascript I have written but although I am writting here. I hope you can help me.

I have put FCKeditor on ASP.net 2.0 application (www.relationshiplist.us)

This is code of fckeditor on my main page:

<fckeditorv2:fckeditor id="FCKeditor1" runat="server" BasePath="~/FCKeditor/" SkinPath="skins/office2003/" ForcePasteAsPlainText="true" Height="924px"></fckeditorv2:fckeditor>

Also one button is there

<input id="inpbtnInsertMergeTop" type="button" value="Insert Merge Field" onmousedown="test()" />

Javascript for that function:

function test - see attachment

Code on pop up window - see attachment

function update - see attachment

function updateparent(radiobutton) - see attachment


Everything works fine but when it is replacing "{u_mergefield}" to proper string mouse cursor is not coming in editor even if I click on any area then also mouse cursor is not focusing there.

I will soon upload one page (on www.relationshiplist.us) from where you can test this live.

Regards, Mayank Parmar

Attachments

function_test.txt (314 bytes) - added by w.olchawa 9 months ago.
popup_table.txt (0.9 KB) - added by w.olchawa 9 months ago.
function_update.txt (1.0 KB) - added by w.olchawa 9 months ago.
function_update_parent.txt (1.0 KB) - added by w.olchawa 9 months ago.

Change History

  Changed 9 months ago by w.olchawa

  • description modified (diff)
  • milestone FCKeditor 2.6 deleted

Changed 9 months ago by w.olchawa

Changed 9 months ago by w.olchawa

Changed 9 months ago by w.olchawa

Changed 9 months ago by w.olchawa

follow-up: ↓ 4   Changed 9 months ago by w.olchawa

Sorry mayank1711, but I had to clean your code and put to files because it was hard to read when everything was on one page.

  Changed 9 months ago by w.olchawa

  • description modified (diff)

in reply to: ↑ 2   Changed 9 months ago by mayank1711

Replying to w.olchawa:

Sorry mayank1711, but I had to clean your code and put to files because it was hard to read when everything was on one page.

It's ok. This looks better. I hope you are looking into this issue and you will get solution quickly.

Note: See TracTickets for help on using tickets.