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/16 08:53:27 UTC

[jira] [Created] (CB-5806) [Windows8] Add keepCallback support to proxy

Sergey Grebnov created CB-5806:
----------------------------------

             Summary: [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: Sergey Grebnov


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)