Skip to content

Commit e07370d

Browse files
PHPMyAdmin autologin upon document ready
Update to have PHPMyAdmin autologin upon document ready. Adding a target="_blank" to the navbar link so it spawns new tab and then when this page loads you get that overall opened in a new tab feeling without losing your original cyberpanel session.
1 parent f9cb98e commit e07370d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

databases/templates/databases/phpMyAdmin.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ <h3 class="title-hero">
3030
</div>
3131
</div>
3232
</div>
33-
33+
<!-- Here we are making the phpmyadmin page autoload in current tab -->
34+
<script type="text/javascript">
35+
$(document).ready(function(){$(function(){$('#phpMyAdminlogin').click();});});
36+
</script>
3437
</div>
35-
{% endblock %}
38+
{% endblock %}

0 commit comments

Comments
 (0)