make getModal take additional query parameters

This commit is contained in:
Isaac Connor 2021-05-07 15:33:49 -04:00
parent 7efbf78260
commit ea3bffb402
1 changed files with 2 additions and 2 deletions

View File

@ -778,8 +778,8 @@ function logAjaxFail(jqxhr, textStatus, error) {
}
// Load the Modal HTML via Ajax call
function getModal(id) {
$j.getJSON(thisUrl + '?request=modal&modal='+id)
function getModal(id, parameters) {
$j.getJSON(thisUrl + '?request=modal&modal='+id+'&'+parameters)
.done(function(data) {
if ( !data ) {
console.error("Get modal returned no data");