templatemonster / power-builder-upd

Other
2 stars 5 forks source link

Power builder plugin is not open in 5.7.1 #18

Open pallavi116 opened 3 years ago

pallavi116 commented 3 years ago

When I edit some page the builder is open but no action will perform on that. And some older pages will same problem. can anyone please help me with that issue Enable jQuery Migrate Helper plugin I used but no use

fabriziosorbara commented 3 years ago

The problem is in the "cherry testimonial" plugin

'ready' event is deprecated and it is in wp-content/plugins/cherry-testi/cherry-framework/modules/cherry-js-core/assets/js/min/cherry-js-core.min.js

the code (unminified is)

var CherryJsCore = {}; !(function (e) { "use strict"; (CherryJsCore = { name: "Cherry Js Core", version: "1.0.0", author: "Cherry Team", variable: { $document: e(document), $window: e(window), browser_supported: !0, security: window.cherry_ajax, loaded_assets: { script: window.wp_load_script, style: window.wp_load_style }, ui_auto_init: "true" === window.ui_init_object.auto_init, ui_auto_target: window.ui_init_object.targets, }, status: { on_load: !1, is_ready: !1 }, init: function () { e(document).on("ready", CherryJsCore.ready), e(window).on("load", CherryJsCore.load); }, ready: function () { (CherryJsCore.status.is_ready = !0), CherryJsCore.expressions.widget_ui_init(); }, load: function () { CherryJsCore.status.on_load = !0; }, expressions: { widget_ui_init: function () { e(document).on("widget-added widget-updated", function (r, t) { e("body").trigger({ type: "cherry-ui-elements-init", _target: t }); }); }, }, utilites: { namespace: function (e) { var r = e.split("."), t = CherryJsCore, i = r.length, o = 0; for (o = 0; o < i; o += 1) void 0 === t[r[o]] && (t[r[o]] = {}), (t = t[r[o]]); return t; }, }, }).init(); })(jQuery);

COULD someone try to update it?