Complete implement of select2 component, and replaced existing use of select2. Also deprecated CustomBlade definitions of select2/simplemde
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 43s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m34s
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s

This commit is contained in:
2024-12-06 14:44:19 +11:00
parent e3c45dfd3d
commit e9b5783945
20 changed files with 118 additions and 255 deletions

View File

@@ -684,9 +684,16 @@ class SystemController extends Controller
$this->authorize('update_nn',$o);
session()->flash('accordion','session');
// Remove the subscription to file/echo areas for each address affected
foreach ($o->akas->where('zone_id',$zo->id) as $ao) {
$ao->echoareas()->detach();
$ao->fileareas()->detach();
}
$o->sessions()->detach($zo);
return redirect()->to(sprintf('system/addedit/%d',$o->id));
return redirect()
->to(sprintf('system/addedit/%d',$o->id));
}
// @todo Can this be consolidated with system_register()