Changeset 1939
- Timestamp:
- 01/21/10 17:09:26 (14 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.db_functions.inc.php
r1738 r1939 193 193 } 194 194 195 //Gera lista de contatos para ser gravado e acessado pelo expresso offline. 196 function get_dropdown_contacts_to_cache() { 197 return $this->get_dropdown_contacts(); 198 } 199 195 200 function get_dropdown_contacts(){ 196 201 -
trunk/expressoMail1_2/js/local_messages.js
r1938 r1939 380 380 for (var i = 0; i < anexos.length; i++) { 381 381 this.dbGears.execute("insert into anexo (id_mail,nome_anexo,url,pid) values (?,?,?,?)", [id_msg, anexos[i]['name'],anexos[i]['url'],anexos[i]['pid']]); 382 this. save_anexos(anexos[i]['url']);383 } 384 } 385 386 local_messages.prototype. save_anexos= function (url) {382 this.capt_url(anexos[i]['url']); 383 } 384 } 385 386 local_messages.prototype.capt_url = function (url) { 387 387 //insert_mail already close and open gears. 388 388 var call_back = function(url,success,captureId) { … … 1282 1282 } 1283 1283 managedStore.checkForUpdate(); 1284 this.capt_url('controller.php?action=$this.db_functions.get_dropdown_contacts_to_cache'); 1284 1285 1285 1286 this.finalize(); -
trunk/expressoMail1_2/js/main.js
r1814 r1939 11 11 var save_contacts = function(data){ 12 12 contacts = data; 13 expresso_local_messages.capt_url('controller.php?action=$this.db_functions.get_dropdown_contacts_to_cache'); 13 14 } 14 15 var save_preferences = function(data){ … … 101 102 // Get cyrus delimiter 102 103 cyrus_delimiter = Element('cyrus_delimiter').value; 103 104 105 cExecute ("$this.db_functions.get_dropdown_contacts_to_cache", function(data) {contacts = data;}); 104 106 //cExecute ("$this.functions.get_preferences", save_preferences); 105 107 }
Note: See TracChangeset
for help on using the changeset viewer.