Fixing geo listner callback fail to send 3 args instead of 4.

This commit is contained in:
macdonst 2011-01-14 02:06:48 +08:00
parent 2a9bc2ddf8
commit f16d9b01b7

View File

@ -86,7 +86,7 @@ public class GeoListener {
* @param msg The error message
*/
void fail(int code, String msg) {
this.broker.sendJavascript("navigator._geo.fail('" + this.id + "', " + ", " + code + ", '" + msg + "');");
this.broker.sendJavascript("navigator._geo.fail('" + this.id + "', '" + code + "', '" + msg + "');");
this.stop();
}