'.PHP_EOL;
echo ' '.$L->g('Edit').''.PHP_EOL;
if (count($page->children())==0) {
echo ''.PHP_EOL;
@@ -283,5 +283,9 @@ $(document).ready(function() {
form.hide().appendTo("body").submit();
});
+
+ // Open the tab defined in the URL
+ $('a[href="'+ window.location.hash +'"]').tab('show');
+ window.scrollTo(0);
});
-
+
\ No newline at end of file
diff --git a/bl-kernel/admin/views/settings.php b/bl-kernel/admin/views/settings.php
index ccf40219..9f8f96f7 100644
--- a/bl-kernel/admin/views/settings.php
+++ b/bl-kernel/admin/views/settings.php
@@ -345,6 +345,9 @@
}
});
+ // Open the tab defined in the URL
+ $('a[href="'+ window.location.hash +'"]').tab('show');
+ window.scrollTo(0);
});
@@ -536,10 +539,4 @@
-
-
-
+
\ No newline at end of file