Opened 10 years ago

Closed 10 years ago

#9803 closed bug (notabug)

TypeError: L'objet ne gère pas la propriété ou la méthode "button"

Reported by: tse_jc Owned by: tse_jc
Priority: minor Milestone: none
Component: ui.tooltip Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:

Description

Hi

The related issue seems to occur only on IE9 and IE10 and for button and tooltip widgets but not tested for other ones.

Here is the context (not reproductible on jsfiddle.net)

1) some widget initialization is done in

$(document).ready(function(){
  $('#mydiv').tooltip();
});

2) in a fonction i refresh the current page with a window.open like this

function myfunction(){
  window.open(document.location.href,'_self'); return true;
}

when execute myfunction() widget initialisation generates error like in summary.

Regards.

Change History (4)

comment:1 Changed 10 years ago by tse_jc

Note: sample in code made with tooltip but same with button, and reported error in summary is the error met with button. Sorry for inversion.

Version 0, edited 10 years ago by tse_jc (next)

comment:2 Changed 10 years ago by tj.vantoll

Component: ui.widgetui.tooltip
Owner: set to tse_jc
Status: newpending

Hi tse_jc,

Thanks for taking the time to contribute to jQuery UI. In order to look into this we need a test case that shows the behavior you're experiencing. I'm not seeing any issues with buttons and tooltips myself: http://jsfiddle.net/tj_vantoll/JLp89/.

From your description it sounds like you don't have the button widget loaded.

comment:3 Changed 10 years ago by tse_jc

Status: pendingnew

Hi,

Thanks for your answer. If i'm not saying mistake, jsfiddle can't test dynamic reload behaviors. Libraries are well loaded, and i checked that all widgets are initialized before calling any methods/properties. But i can't now reproduce the issue wich suggest mistake come from my code (sorry for that as i supposed to have proceeded carefully before post here).

If you want to take a look to be sure of the problem origin here is the preproduction environment where the issue occurs https://kinteba.tse-online.fr/app/launcher.php?qid=5721878684&token=azerty11 enter any email adress then connect, when click on next button, error occurs and not if we do a manual refresh in between.

Thanks for all.

comment:4 Changed 10 years ago by Scott González

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.