[Seaside] jQuery widget >> destroy

Lukas Renggli renggli at gmail.com
Mon Oct 26 15:47:02 UTC 2009


Aha, sorry I didn't see the error in your code. You need to write:

    html jQuery new dialog onClose: html jQuery this dialog destroy

Cheers,
Lukas

2009/10/26 Robert Sirois <watchlala at hotmail.com>:
> I keep getting aJQueryInstance does not understand #destroy or something
> like that. The method is on jQueryWidget I think.
>
> RS
>
>> From: renggli at gmail.com
>> Date: Mon, 26 Oct 2009 08:29:07 +0100
>> Subject: Re: [Seaside] jQuery widget >> destroy
>> To: seaside at lists.squeakfoundation.org
>>
>> If you want to reset the DOM to its state before the dialog, then yes.
>> See the documentation at:
>> <http://jqueryui.com/demos/dialog/#method-destroy>.
>>
>> Cheers,
>> Lukas
>>
>> 2009/10/25 Robert Sirois <watchlala at hotmail.com>:
>> > A dialog is a widget so I should be able to call 'destroy' on it, right?
>> >
>> > script: (html jQuery new dialog onClose: html jQuery this destroy);
>> >
>> > or something like that.
>> >
>> > RS
>> >
>> > ________________________________
>> > New Windows 7: Find the right PC for you. Learn more.
>> > _______________________________________________
>> > seaside mailing list
>> > seaside at lists.squeakfoundation.org
>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >
>> >
>>
>>
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> ________________________________
> Windows 7: I wanted more reliable, now it's more reliable. Wow!
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list