Turn off edit mode for safety
This commit is contained in:
@@ -250,11 +250,7 @@ function handle_clear_access() {
|
|||||||
$ae_loc.app_cfg.show_element__menu = false;
|
$ae_loc.app_cfg.show_element__menu = false;
|
||||||
$ae_loc.app_cfg.show_element__menu_btn = true;
|
$ae_loc.app_cfg.show_element__menu_btn = true;
|
||||||
|
|
||||||
// $ae_loc = $ae_loc; // Trigger Svelte just in case
|
$ae_loc.edit_mode = false;
|
||||||
// ae_loc.set($ae_loc);
|
|
||||||
// console.log($ae_loc);
|
|
||||||
|
|
||||||
// dispatch_access_type_changed();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user