Plugin Directory

Changeset 3244107


Ignore:
Timestamp:
02/20/2025 07:14:44 PM (14 months ago)
Author:
mosparo
Message:

[Bugfix] Opening an Elementor popup multiple times didn't initialize the mosparo box again after the first opening.

Location:
mosparo-integration
Files:
4 edited
59 copied

Legend:

Unmodified
Added
Removed
  • mosparo-integration/tags/1.13.2/mosparo-integration.php

    r3242780 r3244107  
    1515 * Author URI:        https://mosparo.io/
    1616 * License:           MIT
    17  * Version:           1.13.1
     17 * Version:           1.13.2
    1818 * Text Domain:       mosparo-integration
    1919 * Domain Path:       /languages
  • mosparo-integration/tags/1.13.2/readme.txt

    r3242780 r3244107  
    55Tested up to: 6.7.2
    66Requires PHP: 7.4
    7 Stable tag: 1.13.1
     7Stable tag: 1.13.2
    88License: MIT
    99
     
    105105== Changelog ==
    106106
     107= 1.13.2 =
     108*Release Date: 20th February 2025*
     109
     110* [Bugfix] Opening an Elementor popup multiple times didn't initialize the mosparo box again after the first opening.
     111
    107112= 1.13.1 =
    108113*Release Date: 17th February 2025*
  • mosparo-integration/tags/1.13.2/src/MosparoIntegration/Helper/FrontendHelper.php

    r3137043 r3244107  
    297297                    }
    298298                ',
    299                 'after' => '',
     299                'after' => sprintf('
     300                    window.addEventListener("elementor/popup/hide", function (ev) {
     301                        let id = "mosparo-box-%s";
     302                        delete mosparoInstances[id];
     303                    });
     304                ', $instanceId),
    300305            ];
    301306        }
  • mosparo-integration/trunk/mosparo-integration.php

    r3242780 r3244107  
    1515 * Author URI:        https://mosparo.io/
    1616 * License:           MIT
    17  * Version:           1.13.1
     17 * Version:           1.13.2
    1818 * Text Domain:       mosparo-integration
    1919 * Domain Path:       /languages
  • mosparo-integration/trunk/readme.txt

    r3242780 r3244107  
    55Tested up to: 6.7.2
    66Requires PHP: 7.4
    7 Stable tag: 1.13.1
     7Stable tag: 1.13.2
    88License: MIT
    99
     
    105105== Changelog ==
    106106
     107= 1.13.2 =
     108*Release Date: 20th February 2025*
     109
     110* [Bugfix] Opening an Elementor popup multiple times didn't initialize the mosparo box again after the first opening.
     111
    107112= 1.13.1 =
    108113*Release Date: 17th February 2025*
  • mosparo-integration/trunk/src/MosparoIntegration/Helper/FrontendHelper.php

    r3137043 r3244107  
    297297                    }
    298298                ',
    299                 'after' => '',
     299                'after' => sprintf('
     300                    window.addEventListener("elementor/popup/hide", function (ev) {
     301                        let id = "mosparo-box-%s";
     302                        delete mosparoInstances[id];
     303                    });
     304                ', $instanceId),
    300305            ];
    301306        }
Note: See TracChangeset for help on using the changeset viewer.