Update content.php
This commit is contained in:
parent
ba712d59dd
commit
5ffc407682
@ -252,9 +252,9 @@ function table($type) {
|
|||||||
));
|
));
|
||||||
?>
|
?>
|
||||||
<script>
|
<script>
|
||||||
|
var hash = '#pages';
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var key = false;
|
var key = false;
|
||||||
var hash = '#pages';
|
|
||||||
|
|
||||||
// Button for delete a page in the table
|
// Button for delete a page in the table
|
||||||
$(".deletePageButton").on("click", function() {
|
$(".deletePageButton").on("click", function() {
|
||||||
@ -290,6 +290,6 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Open the tab defined in the URL
|
// Open the tab defined in the URL
|
||||||
$('a[href="'+ $(location).attr('hash').slice(0,-1) +'"]').tab('show');
|
$('a[href="'+ $(location).attr('hash').slice(0,-1) +'"]').click();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user