This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Cari Bantuan

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Pelajari Lebih Lanjut

MooTools class worked before 23.0.1

  • 3 balas
  • 1 memiliki masalah ini
  • 7 kunjungan
  • Balasan terakhir oleh JDrysdaleCTR

more options

For a web application that I am working on using MooTools (and a custom class for modal windows), FF21, IE7-10, and Chrome24 all work just fine. Upgrade to FF23.0.1, and there's an error when trying to close a modal window - nothing works and the page has to be refreshed to continue working.

hide: function(){

 var win = this;
 parent.frames[win.name].$('containerID').setStyle('display','none');
 win.popup.addClass('hidden');
 return win;
 }

This closes the modal in FF21, IE7-10, and Chrome. But not in FF23.0.1.

For a web application that I am working on using MooTools (and a custom class for modal windows), FF21, IE7-10, and Chrome24 all work just fine. Upgrade to FF23.0.1, and there's an error when trying to close a modal window - nothing works and the page has to be refreshed to continue working. hide: function(){ var win = this; parent.frames[win.name].$('containerID').setStyle('display','none'); win.popup.addClass('hidden'); return win; } This closes the modal in FF21, IE7-10, and Chrome. But not in FF23.0.1.

Semua Balasan (3)

more options

Then the developer has to update their addon/plugin for the newer versions of firefox, if its really needed, you can revert to the last working version.

more options

What error messages do you see in the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K) about this issue?

Firefox may not support frames[win.name], but only frames[#] with an index number and you may need to use getElementById() or getElementByName() instead.

more options

FireBug is reporting: parent.frames[win.name].$ is not a function

It _could_ be that FF 23 only supports index instead of name/id, but that seems an odd thing to stop supporting name/id after so many versions do. Was working flawlessly in v21.

I'll look into it to see if frame support has changed in v23.

Thanks,

JD