You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2014/01/28 07:00:42 UTC

[jira] [Resolved] (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 ]

Jesse MacFadyen resolved CB-5806.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.4.0

> [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
>             Fix For: 3.4.0
>
>
> 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)