From 3f399dfcea9c020e42a5ec7e7e13a467054ac543 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 23 Sep 2020 13:42:03 +0200 Subject: [PATCH] concat data-query to url on trigger update --- styles/bootstrap/application.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/styles/bootstrap/application.js b/styles/bootstrap/application.js index f9b2cf93c..f59fddf76 100644 --- a/styles/bootstrap/application.js +++ b/styles/bootstrap/application.js @@ -438,9 +438,13 @@ $(document).ready( function() { base = ''; var view = element.data('view'); var action = element.data('action'); - if(view && action) + var query = element.data('query'); + if(view && action) { url = seeddms_webroot+base+"out/out."+view+".php?action="+action; - else + if(query) { + url += "&"+query; + } + } else url = href; if(typeof param1 === 'object') { for(var key in param1) {