How bout an old version of jQuery UI then? If you're using jQuery v1.3.2
make sure you're not using a jQuery UI version older than 1.7

- Richard

On Thu, Oct 22, 2009 at 11:20 AM, Maxime FAYE <maxime.f...@gmail.com> wrote:

> Nope :
>
> jQuery JavaScript Library v1.3.2 that's what the jQuery.js file says :)
>
>
> 2009/10/22 Ariel Flesler <afles...@gmail.com>
>
>> 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 <maxime.f...@gmail.com>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 <afles...@gmail.com>
>>>
>>>>
>>>> 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 <maxime.f...@gmail.com> 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