• buffereso

    (@buffereso)


    Hi there,
    First of all thanks a lot for this wonderful plugin which saved my website from crushing after 5.5 update..
    I am trying to fix the deprecated Js codes but because I am not a developer and also because my themes developer has stopped providing support I am a little lost, so I will be asking for help here.
    When jquery-migrate-helper is enabled and I click on ‘Edit profile’ button, the editing modal appears fine. And I can edit properly. But…
    If jquery-migrate-helper is disabled and I click on same button… Then the modal does not show up :/
    Here’s the deprecated code I must replace with modern code:

    setTimeout(function(){a(".loading-active").hide()},1e3))}})}})}})),a("#edit_place, #create_event").on("shown.bs.modal",function(e){a("body").removeClass("modal-open"),a("body").addClass("modal-open-link")}),a("#edit_place, #create_event").on("hidden.bs.modal",function(e){a("body").removeClass("modal-open-link")})}(AE.Views,AE.Models,jQuery,Backbone,AE.Collections);

    Could you please tell me which lines I must replace and with what exactly ?
    Thanks a lot for helping me out ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marius L. J.

    (@clorith)

    Hiya,

    That’s a very hard code-paste to decipher, but there’s no immediate problem discerned from it, have you made sure the problem is not a conflict with another plugin or theme which is also using jQuery and causing an error?

    Thread Starter buffereso

    (@buffereso)

    Hi dear Marius,
    Thanks a lot for your reply.
    I have just added the few lines of code as described here in the top of my JS file:
    https://stackoverflow.com/questions/14798403/typeerror-browser-is-undefined
    This fixed my issue.
    Hope this can help somebody facing same kind of issue.
    Take care ??

    • This reply was modified 4 years ago by buffereso.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What am I missing?’ is closed to new replies.