fix saving over last detector filter when closing and reopening filter window
parent
8d50e0888e
commit
4e45668ef3
|
@ -8,6 +8,7 @@ $.detectorFilters.getSelected = function(){
|
|||
}
|
||||
$.detectorFilters.drawOptions = function(){
|
||||
var dFilters = $.detectorFilters.getCurrent()
|
||||
$.detectorFilters.f.find('[name="id"]').val($.ccio.gid(5))
|
||||
$('#detector_filters optgroup').empty()
|
||||
$.each(dFilters,function(n,dFilter){
|
||||
$.ccio.tm('option',{auth_token:$user.auth_token,id:dFilter.id,name:dFilter.filter_name},'#detector_filters optgroup')
|
||||
|
|
|
@ -44,7 +44,7 @@ $.aM.generateDefaultMonitorSettings = function(){
|
|||
"skip_ping": null,
|
||||
"is_onvif": null,
|
||||
"onvif_port": "",
|
||||
"primary_input": null,
|
||||
"primary_input": "0:0",
|
||||
"aduration": "1000000000",
|
||||
"probesize": "1000000000",
|
||||
"stream_loop": "0",
|
||||
|
|
Loading…
Reference in New Issue