Skip to content

Commit ae5cb41

Browse files
hansonrhansonr
authored andcommitted
ajax refactoring
1 parent 6e83ae2 commit ae5cb41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sources/net.sf.j2s.java.core/src/swingjs/JSUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,8 @@ public static String prompt(String msg, String defaultRet) {
557557
}
558558
}
559559

560-
public static void setAjax(Object url) {
561-
setAjax("url", url, "dataType", "json", "async", Boolean.FALSE);
560+
public static void setAjax(URL url) {
561+
JSON.setAjax(url);
562562
}
563563

564564
public static Object setAjax(Object... params) {

0 commit comments

Comments
 (0)