minor clear up

refactor-checkForObjectsInRegions
Moe 2023-02-23 09:43:22 -08:00
parent 5db1e78d25
commit fa8b46cf1e
2 changed files with 11 additions and 26 deletions

View File

@ -4935,24 +4935,6 @@ module.exports = function(s,config,lang){
}
]
},
{
"field": lang['Show Thumbnails in Video List'],
attribute:'localStorage="showThumbnail"',
"description": "",
"default": "0",
"example": "",
"fieldType": "select",
"possible": [
{
"name": lang.No,
"value": "0"
},
{
"name": lang.Yes,
"value": "1"
}
]
},
{
"field": lang.Themes,
"name": "detail=theme",

View File

@ -931,6 +931,16 @@ function setPauseScrollTimeout(){
},700)
}
}
function openAllLiveGridPlayers(){
$.each(loadedMonitors,function(monitorId,monitor){
mainSocket.f({
f: 'monitor',
ff: 'watch_on',
id: monitor.mid
})
openLiveGrid()
})
}
$(document).ready(function(e){
liveGrid
.on('dblclick','.stream-block',function(){
@ -1073,14 +1083,7 @@ $(document).ready(function(e){
});
})
$('.open-all-monitors').click(function(){
$.each(loadedMonitors,function(monitorId,monitor){
mainSocket.f({
f: 'monitor',
ff: 'watch_on',
id: monitor.mid
})
openLiveGrid()
})
openAllLiveGridPlayers()
})
$('.close-all-monitors').click(function(){
closeAllLiveGridPlayers()