Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Learn More

MooTools class worked before 23.0.1

  • 3 odpovědi
  • 1 má tento problém
  • 7 zobrazení
  • Poslední odpověď od 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.

Všechny odpovědi (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