@@ -63,7 +63,7 @@ $(document).ready(function() {
},
regexp: {
regexp: /^[a-zA-Z0-9_\.]+$/,
- message: 'The username can only consist of alphabetical, number and underscore'
+ message: 'The username can only consist of alphabetical, number, dot and underscore'
}
@@ -133,6 +133,7 @@
var $tip = $fieldElement.data('bootstrapValidator.tooltip');
$tip.find('i').attr('class', this.options.iconClass.invalid).end()
.attr('title', message)
+ .attr('data-original-title', message)
.tooltip('show');