You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Hide message about that new password must be entered
3228
+
var new_obj = jQuery( this ).parent().find( ".pass_check_new" );
3229
+
if( new_obj.length )
3230
+
{
3231
+
if( jQuery( this ).val() == "" )
3232
+
{
3233
+
new_obj.show();
3234
+
}
3235
+
else
3236
+
{
3237
+
new_obj.hide();
3238
+
}
3239
+
}
3240
+
3241
+
// Hide message about that new password must be entered twice
3242
+
var twice_obj = jQuery( this ).parent().find( ".pass_check_twice" );
3243
+
if( twice_obj.length )
3244
+
{
3245
+
if( jQuery( this ).val() == "" )
3246
+
{
3247
+
twice_obj.show();
3248
+
}
3249
+
else
3250
+
{
3251
+
twice_obj.hide();
3252
+
}
3253
+
}
3254
+
3255
+
var warning_obj = jQuery( this ).parent().find( ".pass_check_warning" );
3256
+
if( jQuery.trim( jQuery( this ).val() ) != jQuery( this ).val() )
3257
+
{ // Password contains the leading and trailing spaces
3258
+
if( ! warning_obj.length )
3259
+
{
3260
+
jQuery( this ).parent().append( "<span class=\"pass_check_warning notes field_error\">.'.TS_('The leading and trailing spaces will be trimmed.').'</span>" );
0 commit comments