File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
sources/net.sf.j2s.ajax/ajaxrpc/net/sf/j2s/ajax Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,11 @@ public static void switchToLocalJavaThreadMode() {
4141 * Java2Script client will always requests in AJAX mode.
4242 * @param runnable
4343 * @j2sNative
44- * net.sf.j2s.ajax.AJAXServletRequest.ajaxRequest(runnable);
44+ * runnable.ajaxIn ();
45+ * net.sf.j2s.ajax.SimpleRPCRequest.ajaxRequest (runnable);
4546 */
4647 public static void request (SimpleRPCRunnable runnable ) {
48+ runnable .ajaxIn ();
4749 if (runningMode == MODE_LOCAL_JAVA_THREAD ) {
4850 new Thread (runnable ).start ();
4951 } else {
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ public class SimpleRPCSWTRequest extends SimpleRPCRequest {
2424 /**
2525 * @param runnable
2626 * @j2sNative
27- * this.ajaxRequest(runnable);
27+ * runnable.ajaxIn ();
28+ * net.sf.j2s.ajax.SimpleRPCRequest.ajaxRequest (runnable);
2829 */
2930 public static void swtRequest (SimpleRPCRunnable runnable ) {
3031 runnable .ajaxIn ();
You can’t perform that action at this time.
0 commit comments