[xwiki-dev] Problem with new comment on save feature

Thomas Drevon thomas.drevon at intermedia.uio.no
Thu May 10 13:54:01 CEST 2007


Sergiu Dumitriu wrote:
>>
>> In that case the popup shouldn't have a cancel button I think as it's
>> misleading. WDYT?
>>
> 
> I don't think you can do that with a standard javascript message box.

If you only want a pop-up message with one button, I believe the correct 
javascript method to use is
alert("you are a turkey");

...all you can do is press ok :-)

Or am I answering the wrong question?


cheers :-)
Thomas




More information about the devs mailing list