Ignore:
Timestamp:
Oct 31, 2009, 5:42:23 AM (14 years ago)
Author:
LucMorizur
Message:

[Event Cats] Add confirm password on user creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/template/autolog_new.js

    r4157 r4158  
    476476    return false;
    477477  }
     478  return true;
    478479}
    479480
     
    592593  ) {
    593594    alert(ec_JS_message['ec_submit_action_miss']);
     595    return false;
     596  }
     597  if (
     598    de('ec_sel_user_new').checked != '' &&
     599    de('ec_in_up_psd_txt_id').value != '' && (
     600      de('ec_in_up_psd_txt_id').value != de('ec_confirm_psd_txt_id').value
     601    )
     602  ) {
     603    alert(ec_JS_message['ec_conf_pwd_dont_match']);
    594604    return false;
    595605  }
Note: See TracChangeset for help on using the changeset viewer.