Disabling jquery in random module
Disabling jquery in random module
Hello,
I notice the useful setting in the CP's backend to disabled jquery loading (in com_jfbconnect_j2.5_v5.1.1). However, if one has the mod_randompoll_v3.1.0.zip enabled, then the libraries are loaded despite the setting in the component config.
I had to comment this line in (/modules/mod_randompoll/mod_randompoll.php) to prevent the libraries from loading:
CJFunctions::load_jquery(array('libs'=>array('validate')));
Could this be updated to look for the component configuration to load or not or else have a global setting over-ride option on the module?
Just a suggestion.
Jordan
I notice the useful setting in the CP's backend to disabled jquery loading (in com_jfbconnect_j2.5_v5.1.1). However, if one has the mod_randompoll_v3.1.0.zip enabled, then the libraries are loaded despite the setting in the component config.
I had to comment this line in (/modules/mod_randompoll/mod_randompoll.php) to prevent the libraries from loading:
CJFunctions::load_jquery(array('libs'=>array('validate')));
Could this be updated to look for the component configuration to load or not or else have a global setting over-ride option on the module?
Just a suggestion.
Jordan
Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.