{"action":"closed","issue":{"url":"https://api.github.com/repos/nolimits4web/Framework7/issues/340","labels_url":"https://api.github.com/repos/nolimits4web/Framework7/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/nolimits4web/Framework7/issues/340/comments","events_url":"https://api.github.com/repos/nolimits4web/Framework7/issues/340/events","html_url":"https://github.com/nolimits4web/Framework7/issues/340","id":53339393,"number":340,"title":"indicator doesn't shows up","user":{"login":"lok0613","id":6286158,"avatar_url":"https://avatars.githubusercontent.com/u/6286158?v=3","gravatar_id":"","url":"https://api.github.com/users/lok0613","html_url":"https://github.com/lok0613","followers_url":"https://api.github.com/users/lok0613/followers","following_url":"https://api.github.com/users/lok0613/following{/other_user}","gists_url":"https://api.github.com/users/lok0613/gists{/gist_id}","starred_url":"https://api.github.com/users/lok0613/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lok0613/subscriptions","organizations_url":"https://api.github.com/users/lok0613/orgs","repos_url":"https://api.github.com/users/lok0613/repos","events_url":"https://api.github.com/users/lok0613/events{/privacy}","received_events_url":"https://api.github.com/users/lok0613/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-04T15:33:45Z","updated_at":"2015-02-06T10:04:51Z","closed_at":"2015-02-06T10:04:51Z","body":"var myApp = new Framework7({\r\n    // Hide and show indicator during ajax requests\r\n    onAjaxStart: function (xhr) {\r\n        myApp.showIndicator();\r\n    },\r\n    onAjaxComplete: function (xhr) {\r\n        myApp.hideIndicator();\r\n    }\r\n}); \r\n\r\nThe indicator stills not shows up while post request but works on get request.\r\n\r\n$$('.confirm').on('click', function (e) {\r\n        e.preventDefault();\r\n            // post request here\r\n            myApp.alert(\"complete！\");\r\n            mainView.back();\r\n        \r\n    });\r\n"}}