Changeset 4329 for extensions/event_cats/admin/template/autolog_new.js
- Timestamp:
- Nov 20, 2009, 10:56:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/template/autolog_new.js
r4263 r4329 1 1 /* Event Cats Javascript functions LucMorizur June - ... 2009 */ 2 2 3 // All variables declarations 4 // Once this entire file has been read, some JS code is executed at the end 5 // of .tpl file, thus some values below are modified during the HTML page 6 // "reading and displaying" 3 7 var ec_avoid_infinite_loop = true; 4 8 var ec_is_creation = true; … … 446 450 d.ec_new_code.ec_in_up_cat.selectedIndex 447 451 ].label; 448 /* if (cat_display) ec_new_user_text = 449 (ec_reg_cat2.test(ec_cat_sel)) ? 450 ec_reg_cat1.exec(ec_cat_sel)[1] : ec_cat_sel; 451 else */ ec_new_user_text = ec_reg_cat3.exec(ec_cat_sel)[1]; 452 ec_new_user_text = ec_reg_cat3.exec(ec_cat_sel)[1]; 452 453 ec_new_user_text = ec_new_user_text.replace(/\s/g, '_'); 453 454 ec_new_user_text = ec_new_user_text.substr(0, 50); … … 464 465 return false; 465 466 } 466 t2 = ec_JS_message[' ec_up_code_lbl_home'];467 t2 = ec_JS_message['Home']; 467 468 ec_new_user_text = t2 + '_' + t1; 468 469 break;
Note: See TracChangeset
for help on using the changeset viewer.