diff options
Diffstat (limited to 'resources/views/admin')
| -rw-r--r-- | resources/views/admin/location-edit.phtml | 2 | ||||
| -rw-r--r-- | resources/views/admin/upgrade/steps.phtml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/views/admin/location-edit.phtml b/resources/views/admin/location-edit.phtml index f6f150a360..a8ace98eda 100644 --- a/resources/views/admin/location-edit.phtml +++ b/resources/views/admin/location-edit.phtml @@ -27,7 +27,7 @@ use Fisharebest\Webtrees\View; <h1><?= $title ?></h1> <div class="row wt-location-edit-wrapper wt-fullscreen-container"> - <div id="wt-map" class="col-sm-9 wt-ajax-load wt-map" dir="ltr"></div> + <div id="wt-map" class="col-sm-9 wt-map" dir="ltr"></div> <div class="col-sm-3 wt-map-sidebar"> <form method="post" action="<?= e(route(MapDataSave::class)) ?>"> diff --git a/resources/views/admin/upgrade/steps.phtml b/resources/views/admin/upgrade/steps.phtml index cba5aa6811..d442d4b247 100644 --- a/resources/views/admin/upgrade/steps.phtml +++ b/resources/views/admin/upgrade/steps.phtml @@ -24,7 +24,7 @@ use Fisharebest\Webtrees\View; <dl> <?php foreach ($steps as $url => $text) : ?> <dt><?= $text ?></dt> - <dd class="wt-ajax-load" data-url="<?= e($url) ?>"></dd> + <dd data-url="<?= e($url) ?>"></dd> <?php endforeach ?> </dl> @@ -32,10 +32,10 @@ use Fisharebest\Webtrees\View; <script> function nextAjaxStep() { $("dd:empty:first").each(function(n, el) { + el.innerHTML=<?= json_encode(view('icons/spinner')) ?>; $(el).load(el.dataset.url, {}, function (responseText, textStatus, req) { el.innerHTML = responseText; if (textStatus === "error") { - $(".wt-ajax-load").removeClass("wt-ajax-load"); } else { nextAjaxStep(); } |
