Skip to main content

Search and Top Navigation

#9803 closed bug (notabug)

Opened February 10, 2014 04:38AM UTC

Closed February 10, 2014 05:56PM UTC

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.

Attachments (0)
Change History (4)

Changed February 10, 2014 04:43AM UTC by tse_jc comment:1

_comment0: 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.1392007547307635

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.

No error met when refreshing the page with F5 or browser refresh button.

Changed February 10, 2014 01:46PM UTC by tj.vantoll comment:2

component: ui.widgetui.tooltip
owner: → 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.

Changed February 10, 2014 05:20PM UTC by tse_jc comment:3

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.

Changed February 10, 2014 05:56PM UTC by scottgonzalez comment:4

resolution: → notabug
status: newclosed