make getModal take additional query parameters

This commit is contained in:
Isaac Connor committed 2021-05-07 15:33:49 -04:00
1 parent 7efbf78260
commit ea3bffb402
1 file changed
+2 -2
+2 -2
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");