]> _ Git - fluidbook-toolbox.git/commitdiff
wip #6555 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 5 Dec 2023 17:04:17 +0000 (18:04 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 5 Dec 2023 17:04:17 +0000 (18:04 +0100)
app/Models/FluidbookExternalInstallServer.php
resources/views/vendor/backpack/crud/list-fluidbook.blade.php

index bf34457bd28f120b9be6750302d7ca2e8415b3c3..126cadef1f5afda0a50842eae339e3ccedc7b598 100644 (file)
@@ -56,12 +56,6 @@ class FluidbookExternalInstallServer extends ExternalServer
         $this->addField('allows_root', Checkbox::class, __('Autoriser le chargement à la racine (sur le chemin de base)'), ['default' => false]);
     }
 
-    public function onSaving(): bool
-    {
-
-
-        return parent::onSaving();
-    }
 
     protected function isHosting()
     {
index 331579d4601a5854459c80690ba5072e7cf7a23d..128278e26437712355a59a606b52ffd2b019cf59 100644 (file)
@@ -17,7 +17,7 @@
             <th>{{ __('URL finale du fluidbook') }}</th>
             </thead>
             @foreach($fluidbooks as $fluidbook)
-                @php($url = $crud->entry->base_url.json_decode($fluidbook['settings'], true)['install_online']['path'])
+                @php($url = $crud->entry->getBaseURL().json_decode($fluidbook['settings'], true)['install_online']['path'])
             <tr>
                 <td>{{$fluidbook['id']}}</td>
                 <td>{{$fluidbook['c_title']}}</td>