Rate this article

JavaScript errors when using MX Widgets

Rating: 0.0/5 (0 votes cast)

 I experience  JavaScript errors when using MX Widgets (specifically when I use the behavior Smart date ) ON PHP_Mysql Server model.

in "includes/wdg/classes/SmartDate.js" file, after the line containing:

$SMD_GLOBALOBJECT = "SmartDates";

add a line with:

$CAL_GLOBALOBJECT = "Calendars";


Go to "includes/wdg/classes/SmartDate.js" and add quotes around the undefined word, so it would look like this:

if(typeof window[$CAL_GLOBALOBJECT] != 'undefined' && typeof window[$CAL_GLOBALOBJECT][this.name] != 'undefined') {

   window[$CAL_GLOBALOBJECT][this.name].setEnabled(state);

}

 


Adobe

XMS Systems
Free PositiveSSL and WhoisGuard with Every Domain Purchase
ionCube Online PHP Encoder

Although we try to ensure all the articles submitted are valid it is your responsibility to make sure you have backups before you use these suggestions on your pc or websites.
We do not take any responsibility for any data-loss, loss in functionality or any problem that might arise in what-ever way or form by making use of the information on this site.

"Friends of Interakt" has no connection to the Adobe Interakt Company