Changeset 2707 for trunk/expressoAdmin1_2/js/jscode/shared_accounts.js
- Timestamp:
- 05/04/10 18:58:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/js/jscode/shared_accounts.js
r2352 r2707 62 62 var handler_get_users = function(data) 63 63 { 64 data = data.JSON( ); 64 65 select_available_users = Element('ea_select_available_users'); 65 66 … … 82 83 } 83 84 } 84 cExecute ('$this.ldap_functions.get_available_users2&context='+context, handler_get_users); 85 ExpressoLivre.go( { 86 "access" : 'expressoAdmin1_2.ldap_functions.get_available_users2&context='+context, 87 "handler" : handler_get_users 88 } ); 85 89 } 86 90 … … 239 243 var handler_get_shared_accounts = function(data) 240 244 { 245 data = data.JSON( ); 241 246 if (data.status == 'true') 242 247 { … … 247 252 write_msg(data.msg, 'error'); 248 253 } 249 cExecute ('$this.ldap_functions.get_shared_accounts&input='+input, handler_get_shared_accounts); 254 ExpressoLivre.go( { 255 "access" : 'expressoAdmin1_2.ldap_functions.get_shared_accounts&input='+input, 256 "handler" : handler_get_shared_accounts 257 } ); 250 258 } 251 259 … … 254 262 var handle_edit_shared_account = function(data) 255 263 { 264 data = data.JSON( ); 256 265 if (data.status == 'true') 257 266 { … … 300 309 sinc_combos_org(data.user_context); 301 310 sharemailbox.ownersAcl = new Array(); 302 if( data.owners != "undefined" && data.owners_acl != "undefined" ){311 if( data.owners && data.owners != "undefined" && data.owners_acl != "undefined" ){ 303 312 for (i=0; i<data.owners.length; i++){ 304 313 sharemailbox.ownersAcl[ data.owners[i] ] = data.owners_acl[i]; … … 309 318 write_msg(data.msg, 'error'); 310 319 } 311 cExecute ('$this.shared_accounts.get_data&uid='+uid, handle_edit_shared_account); 320 ExpressoLivre.go( { 321 "access" : 'expressoAdmin1_2.shared_accounts.get_data&uid='+uid, 322 "handler" : handle_edit_shared_account 323 } ); 312 324 } 313 325 … … 383 395 var handler_get_available_users = function(data) 384 396 { 397 data = data.JSON( ); 398 385 399 select_available_users = document.getElementById('em_select_available_users'); 386 400 … … 403 417 } 404 418 } 405 cExecute ("$this.ldap_functions.get_available_users2&context="+context, handler_get_available_users); 419 ExpressoLivre.go( { 420 "access" : 'expressoAdmin1_2.ldap_functions.get_available_users2&context='+context, 421 "handler" : handler_get_available_users 422 } ); 406 423 } 407 424
Note: See TracChangeset
for help on using the changeset viewer.