Changeset 5021 in subversion
- Timestamp:
- Aug 4, 2011 4:12:36 AM (22 months ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/js/app.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/js/app.js
r5020 r5021 3435 3435 this.gui_objects.qsearchbox.value = ''; 3436 3436 3437 if (this.env.qsearch) { 3438 this.set_busy(this.env.qsearch.lock, false); 3439 this.env.qsearch.request.abort(); 3440 } 3437 if (this.env.qsearch) 3438 this.abort_request(this.env.qsearch); 3441 3439 3442 3440 this.env.qsearch = null; … … 3761 3759 return; 3762 3760 3763 for (i=0, len=ac.locks.length; i<len; i++) { 3764 this.hide_message(ac.locks[i]); // hide loading message 3765 ac.requests[i].abort(); // abort ajax request 3766 } 3761 for (i=0, len=ac.locks.length; i<len; i++) 3762 this.abort_request({request: ac.requests[i], lock: ac.locks[i]}); 3767 3763 3768 3764 this.ksearch_data = null; … … 5665 5661 }; 5666 5662 5663 // aborts ajax request 5664 this.abort_request = function(r) 5665 { 5666 if (r.request) 5667 r.request.abort(); 5668 if (r.lock) 5669 this.set_busy(r.lock, false); 5670 }; 5671 5667 5672 // handle HTTP response 5668 5673 this.http_response = function(response)
Note: See TracChangeset
for help on using the changeset viewer.
