Commit 91c78753 by tricksel

Fix to callback functions

fix to callback function call, removed deprecated call
parent 9e735fc8
......@@ -240,9 +240,9 @@ NSString *const kAPP_LOCALNOTIFICATION = @"APP_LOCALNOTIFICATION";
if (![self strIsNullOrEmpty:callbackFn])
{
NSString* js = [NSString stringWithFormat:@"setTimeout('%@(%@)',0)", callbackFn, id];
NSString* js = [NSString stringWithFormat:@"setTimeout('%@(\"%@\")',0)", callbackFn, id];
[self writeJavascript:js];
[self.commandDelegate evalJs:js];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment