Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter steude

    (@steude)

    We have solved the problem ourselves because Fruitful Code was not able to.

    In the js-script (init.min.js) the live() method is used. This method was removed in JQuery version 1.9. live() method has to be replaced by on() method.

    Bad support by Fruitful Code.

    Thanks for the fix, steude!
    Also the same problem in the following files:

    themes/fruitful/js/init.js - to fix Button menu
    themes/fruitful/inc/js/main.js - to fix Theme Options
    themes/fruitful/inc/js/uploads_.js - to fix Theme Options
    • This reply was modified 4 years, 7 months ago by pozirk.

    Another file to fix admin posting page:
    themes/fruitful/inc/metabox/js/layout/layout.js

    Here’s where I found the jQuery(...).live code:

    themes\fruitful\inc\js\main.js
    themes\fruitful\inc\js\uploads_.js
    themes\fruitful\inc\metaboxes\js\gallery\gallery-init.js
    themes\fruitful\inc\metaboxes\js\layout\layout.js
    themes\fruitful\js\init.js
    themes\fruitful\js\init.min.js

    @wpjap. Thanks for posting the fix.

    In themes\fruitful\js\init.js I couldn’t find any jQuery(...).live code.

    On Line 82 it has this code $('.resp_full_width_menu button.navbar-toggle').live('click', function()

    On Line 82 and other lines such as 93, should live be replaced by on or should it only be replaced if the line has jQuery in it?

    • This reply was modified 4 years, 2 months ago by stevedw.
    • This reply was modified 4 years, 2 months ago by stevedw.
    • This reply was modified 4 years, 2 months ago by stevedw.
    • This reply was modified 4 years, 2 months ago by stevedw.
    • This reply was modified 4 years, 2 months ago by stevedw.
    • This reply was modified 4 years, 2 months ago by stevedw.

    I have not the slightest idea!
    I am just site admin and this theme is obviously abandoned.
    The sooner you switch to another one, the better.
    IMHO.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Java Script Error’ is closed to new replies.