Skip to main content

Bug Tracker

Side navigation

#1172 closed enhancement (wontfix)

Opened May 11, 2007 08:01PM UTC

Closed February 26, 2011 03:44AM UTC

Last modified May 17, 2011 08:51PM UTC

Ajax Partial results for better busy status.

Reported by: jakecigar Owned by:
Priority: low Milestone:
Component: ajax Version: 1.1.2
Keywords: ajaxrewrite Cc:
Blocked by: Blocking:
Description
diff -u ajax-orig.js ajax.js
--- ajax-orig.js        2007-04-12 12:27:36.000000000 -0700
+++ ajax.js      2007-05-07 09:18:19.000000000 -0700
@@ -708,6 +708,10 @@
                                if(s.async )
                                        xml = null;
                        }
+                       else if (xml && xml.readyState == 3){
+                               if (s.partial)
+                                       s.partial( xml, 'partial' );
+                       }
                };
 
                // don't attach the handler to the request, just poll it instead


I have a demo, it just shows the count of characters.

But kills opera with the over 4meg ajax load, works fine in FF 2 & Safari.

http://jpassoc.com/Library.html

$(function(){

	$.ajax(
		{type: "GET"

		,url: '/cat.cgi?Library.xml'

		,complete:function(r){
			var t = r.responseText

			$('#status').text('loaded')

			var v = t.substr(0,500) + '…'
			$('#msg').text(v)

		 }
		,
partial:function(r){
			var t = r.responseText

			$('#status').html(t.length)

		 }
		})

});
Attachments (0)
Change History (8)

Changed October 03, 2010 12:22AM UTC by dmethvin comment:1

milestone: 1.1.31.5

Changed October 19, 2010 01:07AM UTC by snover comment:2

milestone: 1.4.41.5

Retarget all enhancements/features to next major version.

Changed October 20, 2010 12:57AM UTC by snover comment:3

keywords: → needsreview
priority: majorlow

Bikeshed/feature creep. Marking for review.

Changed November 01, 2010 05:21AM UTC by snover comment:4

#5585 is a duplicate of this ticket.

Changed November 05, 2010 02:14AM UTC by dmethvin comment:5

keywords: needsreview
status: newopen

Worth a look; we can accept/reject with the upcoming ajax rewrite.

Changed December 27, 2010 10:36PM UTC by rwaldron comment:6

keywords: → ajaxrewrite

Changed February 26, 2011 03:44AM UTC by dmethvin comment:7

resolution: → wontfix
status: openclosed

See the solution proposed in #8237, based on the ajax prefilter feature added in 1.5.

Changed May 17, 2011 08:51PM UTC by anonymous comment:8

Proposed solution is actually #8327