- Timestamp:
- 05/04/10 18:58:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/js/jscode/institutional_accounts.js
r2352 r2707 60 60 } 61 61 } 62 cExecute ('$this.ldap_functions.get_available_users&context='+context, handler_get_users); 62 ExpressoLivre.go( { 63 "access" : 'expressoAdmin1_2.ldap_functions.get_available_users&context=' + escape(context), 64 "handler" : handler_get_users 65 } ); 63 66 } 64 67 … … 114 117 115 118 //Inclui usuario comecando com a pesquisa 116 for(i = 0; i < select_available_users_clone.length; i++){117 if ( RegExp_name.test(select_available_users_clone[i].text) || (select_available_users_clone[i].value == -1) )118 {119 sel = select_available_users_tmp.options;120 option = new Option(select_available_users_clone[i].text,select_available_users_clone[i].value);121 122 if (select_available_users_clone[i].value == -1)123 option.disabled = true;124 125 sel[sel.length] = option;126 }127 }119 //for(i = 0; i < select_available_users_clone.length; i++){ 120 // if ( RegExp_name.test(select_available_users_clone[i].text) || (select_available_users_clone[i].value == -1) ) 121 // { 122 // sel = select_available_users_tmp.options; 123 // option = new Option(select_available_users_clone[i].text,select_available_users_clone[i].value); 124 // 125 // if (select_available_users_clone[i].value == -1) 126 // option.disabled = true; 127 // 128 // sel[sel.length] = option; 129 // } 130 // } 128 131 oWait.innerHTML = ' '; 129 132 } … … 202 205 var handler_get_institutional_accounts = function(data) 203 206 { 207 data = data.JSON( ); 204 208 if (data.status == 'true') 205 209 { … … 210 214 write_msg(data.msg, 'error'); 211 215 } 212 cExecute ('$this.ldap_functions.get_institutional_accounts&input='+input, handler_get_institutional_accounts); 216 ExpressoLivre.go( { 217 "access" : 'expressoAdmin1_2.ldap_functions.get_institutional_accounts&input='+input, 218 "handler" : handler_get_institutional_accounts 219 } ); 213 220 } 214 221
Note: See TracChangeset
for help on using the changeset viewer.