mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-13 09:04:30 -04:00
make getModal take additional query parameters
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user