"Choose Image" when trying to upload background image not working

Simeywimey's picture
Simeywimey
Tue, 04/10/2018 - 11:33
#1
"Choose Image" when trying to upload background image not working

Hi

When editing a slide, "Choose Image" when trying to upload background image not working. Please help

cindy's picture
cindy
Tue, 04/10/2018 - 22:22

Please send us your site url and admin account to check

cindy's picture
cindy
Wed, 04/11/2018 - 06:14

Hi,

This problem is because of the conflict between our Slider and jquery version. When editing slider, we use jquey version 1.4.4 which does not have function on. However, there is function on in file mmenu.js of module mmenu. Please open file mmenu.js in folder modules/contrib/mmenu/js/

and replace the following code :

$(window).on('resize', function () {
Drupal.mmenu.resetDragOpen();
});

with:

if($.fn.on){
$(window).on('resize', function () {
Drupal.mmenu.resetDragOpen();
});
} else {
$(window).live('resize', function () {
Drupal.mmenu.resetDragOpen();
});
}

Simeywimey's picture
Simeywimey
Wed, 04/11/2018 - 06:34

Thanks for the reply. I have done this and it still doesn't let me change the background image.

cindy's picture
cindy
Wed, 04/11/2018 - 23:03

Hi,

Your module mmenu uses many functions on, so we upgrade jQuery from version 1.4.4 to ver 1.7.2 

Please check your email for the updated module 

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.