mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-05 08:55:37 -04:00
make getModal take additional query parameters
This commit is contained in:
1 parent
7efbf78260
commit
ea3bffb402
1 file changed
+2
-2
@@ -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