diff --git a/styles/bootstrap/application.js b/styles/bootstrap/application.js index 9061a1445..31c663f60 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) {