From 4931a78b1606359391066506cc3935f0f3e759e9 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 14 Apr 2021 22:23:18 +0200 Subject: toggle popup --- cli/app/site/export.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli') diff --git a/cli/app/site/export.py b/cli/app/site/export.py index 89db305..354c0a5 100644 --- a/cli/app/site/export.py +++ b/cli/app/site/export.py @@ -99,6 +99,8 @@ def sanitize_graph(graph): tile['href'] = '__open_popup' elif tile['target_page_id'] == -3: tile['href'] = '__close_popup' + elif tile['target_page_id'] == -4: + tile['href'] = '__toggle_popup' elif tile['target_page_id'] > 0: tile['href'] = page_path_lookup[tile['target_page_id']] if 'url' in tile['settings'] and tile['settings']['url'].startswith('/static'): -- cgit v1.2.3-70-g09d2