Changeset 1122 for trunk/calendar/templates/celepar/js/edit_exmail.js
- Timestamp:
- 07/14/09 17:24:01 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/templates/celepar/js/edit_exmail.js
r1082 r1122 20 20 var is_firefox_0 = agt.indexOf('firefox/1.0') != -1 && agt.indexOf('firefox/0.') ? true : false; 21 21 22 function get_available_users(filter )22 function get_available_users(filter,autoSearch) 23 23 //function get_available_users(path,context,type) 24 24 { 25 text= document.getElementById("cal_input_searchUser"); 26 27 if((autoSearch == 'True') && (!text.value)){ 28 var search = " "; 29 get_available_users(search); 30 } 25 31 var handler_get_available_users = function(data) 26 32 { … … 77 83 var oWait = document.getElementById("cal_span_searching"); 78 84 var oText = document.getElementById(id); 79 80 85 if (oText.value.length < numMin) { 81 86 oWait.innerHTML = ''; … … 96 101 } 97 102 } 103 function autoOptionFinder(){ 104 var oWait = document.getElementById("cal_span_searching"); 105 var oText = document.getElementById(id); 106 var select_available_users_tmp = document.getElementById('user_list_in'); 107 for(var i = 0;i < select_available_users_tmp.options.length; i++) 108 select_available_users_tmp.options[i--] = null; 109 var RegExp_name = new RegExp("\\b ", "i"); 110 oWait.innerHTML = ' '; 111 } 98 112 99 113 function add_user()
Note: See TracChangeset
for help on using the changeset viewer.