8000 actions on IOS6 · Issue #265 · volosoft/jtable · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
actions on IOS6 #265
Open
Open
@truittjl

Description

@truittjl

Just leaving a note about an issue I am dealing with. It appears there is a bug in IOS6 where it caches absolutely everything. This is forcing me to rewrite a lot of code adding a timestamp as a phantom parameter to every call. I had to made a change to the ajax call in this code base as well. See change for delete call below.....

    _deleteRecordFromServer: function ($row, success, error, url) {
        var self = this;

        //Check if it is already being deleted right now
        if ($row.data('deleting') == true) {
            return;
        }

        $row.data('deleting', true);

        var postData = {};
        postData[self._keyField] = $row.data('record')[self._keyField];

        // Update For IO6 BUG
        var timestamp = new Date();
        postData["T"] = timestamp.getTime();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0