1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-10 04:24:45 +02:00

Usersettings error message styling and general cleanup.

This commit is contained in:
Cameron
2015-01-27 11:32:09 -08:00
parent 489a9cb49c
commit e36b68933c
6 changed files with 39 additions and 22 deletions

View File

@@ -1,5 +1,9 @@
$(document).ready(function()
{
$('form').h5Validate(
{ errorClass: 'has-error' }
); // allow older browsers to use html5 validation.
// Change hash when a tab changes
$('.nav-tabs a').on('shown', function (event) {
var hash = event.target.href.toString().split('#')[1], form = $(event.target).parents('form')[0];