You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2014/01/22 17:19:20 UTC
[jira] [Updated] (CB-5806) [Windows8] Add keepCallback support to
proxy
[ https://issues.apache.org/jira/browse/CB-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Grebnov updated CB-5806:
-------------------------------
Assignee: Jesse MacFadyen (was: Sergey Grebnov)
> [Windows8] Add keepCallback support to proxy
> --------------------------------------------
>
> Key: CB-5806
> URL: https://issues.apache.org/jira/browse/CB-5806
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS, Windows 8
> Affects Versions: 3.3.0
> Reporter: Sergey Grebnov
> Assignee: Jesse MacFadyen
>
> Below is current proxy implementation. There is no way pass keepCallbck param via onSuccess method.
> onSuccess = function (result) {
> cordova.callbackSuccess(callbackId,
> {
> status: cordova.callbackStatus.OK,
> message: result
> });
> };
> onError = function (err) {
> cordova.callbackError(callbackId,
> {
> status: cordova.callbackStatus.ERROR,
> message: err
> });
> };
> proxy(onSuccess, onError, args);
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)