PluginProbe
Elementor Website Builder – more than just a page builder / 3.11.2
Elementor Website Builder – more than just a page builder v3.11.2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / assets / js / import-export-admin.js

import-export-admin.js in Elementor Website Builder – more than just a page builder 3.11.2, at assets/js/import-export-admin.js

73 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*! elementor - v3.11.2 - 22-02-2023 */
2 /******/ (() => { // webpackBootstrap
3 /******/ "use strict";
4 /******/ var __webpack_modules__ = ({
5
6 /***/ "@wordpress/i18n":
7 /*!**************************!*\
8 !*** external "wp.i18n" ***!
9 \**************************/
10 /***/ ((module) => {
11
12 module.exports = wp.i18n;
13
14 /***/ })
15
16 /******/ });
17 /************************************************************************/
18 /******/ // The module cache
19 /******/ var __webpack_module_cache__ = {};
20 /******/
21 /******/ // The require function
22 /******/ function __webpack_require__(moduleId) {
23 /******/ // Check if module is in cache
24 /******/ var cachedModule = __webpack_module_cache__[moduleId];
25 /******/ if (cachedModule !== undefined) {
26 /******/ return cachedModule.exports;
27 /******/ }
28 /******/ // Create a new module (and put it into the cache)
29 /******/ var module = __webpack_module_cache__[moduleId] = {
30 /******/ // no module.id needed
31 /******/ // no module.loaded needed
32 /******/ exports: {}
33 /******/ };
34 /******/
35 /******/ // Execute the module function
36 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
37 /******/
38 /******/ // Return the exports of the module
39 /******/ return module.exports;
40 /******/ }
41 /******/
42 /************************************************************************/
43 var __webpack_exports__ = {};
44 // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
45 (() => {
46 /*!*******************************************************!*\
47 !*** ../app/modules/import-export/assets/js/admin.js ***!
48 \*******************************************************/
49 /* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
50
51
52 var revertButton = document.getElementById('elementor-import-export__revert_kit');
53 if (revertButton) {
54 revertButton.addEventListener('click', function (event) {
55 event.preventDefault();
56 elementorCommon.dialogsManager.createWidget('confirm', {
57 headerMessage: __('Sure you want to make these changes?', 'elementor'),
58 message: __('Removing assets or changing your site settings can drastically change the look of your website.', 'elementor'),
59 strings: {
60 confirm: __('Yes', 'elementor'),
61 cancel: __('No, go back', 'elementor')
62 },
63 onConfirm: function onConfirm() {
64 location.href = revertButton.href;
65 }
66 }).show();
67 });
68 }
69 })();
70
71 /******/ })()
72 ;
73 //# sourceMappingURL=import-export-admin.js.map