From fffefb80bfea590507cc3dd55d9a24595a7d239d Mon Sep 17 00:00:00 2001 From: wpjscc <76907477+wpjscc@users.noreply.github.com> Date: Sat, 26 Oct 2024 07:44:09 +0800 Subject: [PATCH] The popup supports custom url option. --- modules/system/assets/ui/js/popup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/system/assets/ui/js/popup.js b/modules/system/assets/ui/js/popup.js index c6b6b0ac0a..e5931d17aa 100644 --- a/modules/system/assets/ui/js/popup.js +++ b/modules/system/assets/ui/js/popup.js @@ -75,6 +75,7 @@ if (this.options.handler) { this.$el.request(this.options.handler, { + url: this.options.url || undefined, data: paramToObj('data-extra-data', this.options.extraData), success: function(data, textStatus, jqXHR) { this.success(data, textStatus, jqXHR).done(function(){