חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

MooTools class worked before 23.0.1

  • 3 תגובות
  • 1 has this problem
  • 7 views
  • תגובה אחרונה מאת 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.

כל התגובות (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