[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
clear commentDialog text between entering comments  XML
Forum Index » Development general discussion
Author Message
craig

Initiate

Joined: 06/08/2007 16:50:46
Messages: 146
Offline

Hi,

I have found that if I add more than one comment on the active alarms page the text from the previous comment is still in the text box.

I have included a patch as I don't seem to be able to attach a file. Please let me know if it is in a suitable format and if this is the proper medium for submitting patches so I'll know for next time.

Thanks


mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1502
Offline

Hi Craig,

That should work fine. Note that the "$("commentText").select();" line is supposed to select the text such that typing anything would overwrite the previous comment, but it would still be there in case it was useful. That line and the following line (focus) should probably be reversed.

Best regards,
Matthew Lohbihler
 
Forum Index » Development general discussion
Go to:   
Powered by JForum 2.1.9 © JForum Team