Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
Welcome, Guest
Please Login or Register.    Lost Password?
Fix for Javascript Error in Internet Explorer (1 viewing) (1) Guest
Go to bottomPost New TopicPost Reply Favoured: 0
TOPIC: Fix for Javascript Error in Internet Explorer
#37138
Fix for Javascript Error in Internet Explorer 11 Months, 3 Weeks ago  
I discovered a Javascript error that was preventing the popup from appearing in Internet Explorer and was preventing me from changing the text of the close button.

In mod_moopopup.php, line 83, the 'btnTitle' key was present twice. The second instance was overriding the first, meaning that the close button text was always 'close'. The first instance was not wrapping the $buttonTitle variable with escaped quote marks, which as causing the error in IE.

I removed the second 'btnTitle' key and replaced the first one as below. Now everything is working correctly:

btnTitle:''.$buttonTitle.''
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
southermark (Visitor)

Logged Logged  
 
Reply Quote  
Go to topPost New TopicPost Reply