Ignore:
Timestamp:
Dec 7, 2009, 8:45:26 AM (14 years ago)
Author:
LucMorizur
Message:

[Event Cats] Finalize help banner implementation (text still to be written)

File:
1 edited

Legend:

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

    r4421 r4440  
    732732      ec_default_action == 'duplicate_entry_submit'
    733733    ) {                                             // Create entry from blank
     734      ec_help_banner_no                           = 1;
    734735      de('ec_in_up_usr_list_id').selectedIndex    = '-1';
    735736      de('ec_in_up_code_list_id').selectedIndex   = '-1';
     
    755756    }
    756757    else {                                          // Duplicate entry
     758      ec_help_banner_no                           = 2;
    757759      de('ec_act1_id').value                      = 'duplicate_entry_submit';
    758760      de('ec_submit_gen_full_auto_id').disabled   = 'disabled';
     
    789791      ec_default_action == 'modify_entry_submit'
    790792    ) {                                             // Modify entry
     793      ec_help_banner_no                           = 1;
    791794      de('ec_in_up_entry_list_id').disabled       = '';
    792795      de('ec_sel_user_none').checked              = '';
     
    812815    }
    813816    else {                                          // Outdate entry
     817      ec_help_banner_no                           = 2;
    814818      ec_selected_user                            = 'ec_sel_user_none';
    815819      de('ec_in_up_entry_list_id').disabled       = 'disabled';
     
    836840    ec_default_action                             = 'modify_entry_ask';
    837841  }
     842  ec_mark_help('');
    838843  return false;
    839844}
Note: See TracChangeset for help on using the changeset viewer.