Add fullscreen rich journals, inline recording and reference-based cloud cleanup
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ function stopPlayers() { players.forEach(p => p.destroy()); players = []; $$('#l
|
||||
function showPage(page, options={}) {
|
||||
if(typeof journalSaving!=='undefined'&&journalSaving&&page!==activePage){toast('记事正在保存,请稍候。');return;}
|
||||
setMobileMenu(false);
|
||||
if(typeof leaveJournal==='function'&&activePage==='journal'&&page!=='journal')leaveJournal();
|
||||
if(typeof leaveJournal==='function'&&activePage==='journal'&&page!=='journal'){if(!confirmJournalDiscard())return;leaveJournal();}
|
||||
if(typeof leaveSettings==='function'&&activePage==='settings'&&page!=='settings')leaveSettings();
|
||||
if(!isAdmin()&&!['households','overview','objects','device','live','playback','family','heritage','heritage-records','settings','journal'].includes(page))return;
|
||||
if(['heritage','family','heritage-records'].includes(page)&¤tHome()?.kind&¤tHome().kind!=='home')return;
|
||||
|
||||
Reference in New Issue
Block a user