File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
sources/net.sf.j2s.ajax/ajaxpipe/net/sf/j2s/ajax Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -448,7 +448,9 @@ public void onLoaded() {
448
448
return ;
449
449
}
450
450
runnable .ajaxOut ();
451
- ajaxPipe (runnable );
451
+ if (runnable .isPipeLive ()) { // false if #pipeFailed is called in #ajaxOut
452
+ ajaxPipe (runnable );
453
+ }
452
454
}
453
455
});
454
456
request .send (serialize );
@@ -1007,7 +1009,6 @@ public void onLoaded() { // on case that no destroy event is sent to client
1007
1009
* being parsed.
1008
1010
*/
1009
1011
public static String parseReceived (final String string ) {
1010
- //System.out.println(string);
1011
1012
if (string == null ) {
1012
1013
return null ;
1013
1014
}
Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ public void ajaxFail() {
202
202
@ Override
203
203
public void ajaxOut () {
204
204
if (pipeAlive ) {
205
+ updateStatus (true );
205
206
pipeCreated ();
206
207
} else {
207
208
pipeFailed ();
You can’t perform that action at this time.
0 commit comments