{"action":"created","issue":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7465","repository_url":"https://api.github.com/repos/wet-boew/wet-boew","labels_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7465/labels{/name}","comments_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7465/comments","events_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7465/events","html_url":"https://github.com/wet-boew/wet-boew/issues/7465","id":142460898,"number":7465,"title":"Functions inside wb-ready.wb stops when changing browser tabs on Firefox","user":{"login":"johnpalaganas","id":4248755,"avatar_url":"https://avatars.githubusercontent.com/u/4248755?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpalaganas","html_url":"https://github.com/johnpalaganas","followers_url":"https://api.github.com/users/johnpalaganas/followers","following_url":"https://api.github.com/users/johnpalaganas/following{/other_user}","gists_url":"https://api.github.com/users/johnpalaganas/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpalaganas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpalaganas/subscriptions","organizations_url":"https://api.github.com/users/johnpalaganas/orgs","repos_url":"https://api.github.com/users/johnpalaganas/repos","events_url":"https://api.github.com/users/johnpalaganas/events{/privacy}","received_events_url":"https://api.github.com/users/johnpalaganas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-03-21T20:28:03Z","updated_at":"2016-10-31T01:56:57Z","closed_at":null,"body":"Hello,\n\nI have an issue with functions that is running inside the **wb-ready.wb**:\n\n``` javascript\n$( document ).on( \"wb-ready.wb\", function( event ) {\n   console.log('This should run!');\n});\n```\n\n**The scenario**\nI am using WET Tabbed Interface with Datatables inside the tab.\n\n**3 WET Tabs**\n- 1 tab has static data of Datatables (default configuration)\n- 1 tab has ajax data(array text) of Datatables (default configuration)\n- 1 tab has static data of WET Tables (WET configuration)\n\n**Files**\nPut the attached files on a server. You won't be able to recreate it if ran locally.\n- test.html\n- ajax.txt\n\n**Recreate**\n- Reload the **test.html** then **quickly change tabs**.\n- Wait until the previous tab is finished loading then switch back.\n\n**Issue**\n- The first 2 datatables will not be initialized, however the last WET datatable will work fine.\n- You may not encounter the issue right away but try it at least 10 times until the first 2 datatables will not get configured properly.\n- I can recreate it using Firefox\n\nMy issue on recreating it is it's not consistent. Sometimes it works, sometimes it stops. There's no pattern. It's tricky but the problem is there.\n\nI tried it on 4.0.17 and 4.0.20. Same issue.\n\nCan anyone else recreate this?\n\n[wb-ready.wb.zip](https://github.com/wet-boew/wet-boew/files/183033/wb-ready.wb.zip)\n"},"comment":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/comments/257198416","html_url":"https://github.com/wet-boew/wet-boew/issues/7465#issuecomment-257198416","issue_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7465","id":257198416,"user":{"login":"masterbee","id":829858,"avatar_url":"https://avatars.githubusercontent.com/u/829858?v=3","gravatar_id":"","url":"https://api.github.com/users/masterbee","html_url":"https://github.com/masterbee","followers_url":"https://api.github.com/users/masterbee/followers","following_url":"https://api.github.com/users/masterbee/following{/other_user}","gists_url":"https://api.github.com/users/masterbee/gists{/gist_id}","starred_url":"https://api.github.com/users/masterbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterbee/subscriptions","organizations_url":"https://api.github.com/users/masterbee/orgs","repos_url":"https://api.github.com/users/masterbee/repos","events_url":"https://api.github.com/users/masterbee/events{/privacy}","received_events_url":"https://api.github.com/users/masterbee/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T01:56:57Z","updated_at":"2016-10-31T01:56:57Z","body":"@johnpalaganas can you test this again? there has been some optimizations to DataTables sometime ago and want to know if this is still an issue. I was not able to duplicate this issue so curious if we still have a problem."}}
{"actor":{"display_login":"masterbee"}}