make getModal take additional query parameters
This commit is contained in:
parent
7efbf78260
commit
ea3bffb402
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue