forked from mirrors/easyappointments
Reset user settings form before validation.
This commit is contained in:
parent
b834869fd3
commit
17f99883c0
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@
|
||||||
* @return {Boolean} Returns the validation result.
|
* @return {Boolean} Returns the validation result.
|
||||||
*/
|
*/
|
||||||
UserSettings.prototype.validate = function () {
|
UserSettings.prototype.validate = function () {
|
||||||
$('#user .has-error').removeClass('has-error');
|
$('#current-user .has-error').removeClass('has-error');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Validate required fields.
|
// Validate required fields.
|
||||||
|
|
Loading…
Reference in a new issue