Could be that you're using an old version of jQuery (prior to 1.3.x?)

On Thu, Oct 22, 2009 at 1:03 PM, Maxime FAYE <[email protected]> wrote:

> Sorry no...
>
> But i can give you the code that is generting the error :
> var sDialogId = "divPleaseActionDialog";
>     var sDialog = "";
>     var oButtons = {};
>     oButtons[aTranslations["ok"]] = function(){
>         $j('#' + sDialogId).dialog('destroy');
>     };
>     sDialog += '<div id="' + sDialogId + '">' + "\n";
>     sDialog += 'Please select at least one action';
>     sDialog += '</div>' + "\n";
>     $j('body').append(sDialog);
>     alert($j('#' + sDialogId).length);
>         $j('#' + sDialogId).dialog({
>         modal:        true,
>         buttons:    oButtons,
>         height:        300,
>         width:        500,
>         stack:        true,
>         title:        aTranslations['error'],
>         close:        function() {
>             $j('#' + sDialogId).dialog('destroy');
>         }
>     });
>
> It seems that the error occure when jQuery launch the dialog
>
> 2009/10/22 Ariel Flesler <[email protected]>
>
>>
>> Can you provide a link to the page where you see this error?
>>
>> --
>> Ariel Flesler
>> http://flesler.blogspot.com
>>
>> On Oct 22, 1:32 pm, Maskime <[email protected]> wrote:
>> > Hi all,
>> >
>> > I'm having the following error when  opening a dialog
>> >
>> > $.Event is not a function js/jquery/ui.core.js Line 345
>> >
>> > I don't really understand what's happening since i'm using this code
>> > to load dialog in many places in my application an it's the first time
>> > that i'm having this problem...
>> > If any one has an idea, it's more than welcome :)
>> >
>> > Thank you in advance.
>>
>
>
> >
>


-- 
Ariel Flesler
http://flesler.blogspot.com

Reply via email to