* zin: never update url on load form in modal.

This commit is contained in:
sunhao
2024-01-18 15:32:42 +08:00
parent a3bd8066a8
commit 1be743f25a
+2
View File
@@ -872,6 +872,8 @@
if(!$form.length) $form = $target.find('form');
if(!$form.length) return console.warn('[APP] ', `cannot find form from target "${options.target}"`);
if(options.partial === undefined) options.partial = !!$target.closest('.modal').length;
const id = $form.attr('id');
if(!id) return console.warn('[APP] ', `form from "${options.target}" has no id`);