{"action":"created","issue":{"url":"https://api.github.com/repos/backbee/BbCoreJs/issues/318","labels_url":"https://api.github.com/repos/backbee/BbCoreJs/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/backbee/BbCoreJs/issues/318/comments","events_url":"https://api.github.com/repos/backbee/BbCoreJs/issues/318/events","html_url":"https://github.com/backbee/BbCoreJs/issues/318","id":64563853,"number":318,"title":"Remove confirm popout and add popin with translation in bundle index view","user":{"login":"ndufreche","id":426139,"avatar_url":"https://avatars.githubusercontent.com/u/426139?v=3","gravatar_id":"","url":"https://api.github.com/users/ndufreche","html_url":"https://github.com/ndufreche","followers_url":"https://api.github.com/users/ndufreche/followers","following_url":"https://api.github.com/users/ndufreche/following{/other_user}","gists_url":"https://api.github.com/users/ndufreche/gists{/gist_id}","starred_url":"https://api.github.com/users/ndufreche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndufreche/subscriptions","organizations_url":"https://api.github.com/users/ndufreche/orgs","repos_url":"https://api.github.com/users/ndufreche/repos","events_url":"https://api.github.com/users/ndufreche/events{/privacy}","received_events_url":"https://api.github.com/users/ndufreche/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/backbee/BbCoreJs/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/backbee/BbCoreJs/labels/Fixed","name":"Fixed","color":"fef2c0"},{"url":"https://api.github.com/repos/backbee/BbCoreJs/labels/To%20test","name":"To test","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"ndufreche","id":426139,"avatar_url":"https://avatars.githubusercontent.com/u/426139?v=3","gravatar_id":"","url":"https://api.github.com/users/ndufreche","html_url":"https://github.com/ndufreche","followers_url":"https://api.github.com/users/ndufreche/followers","following_url":"https://api.github.com/users/ndufreche/following{/other_user}","gists_url":"https://api.github.com/users/ndufreche/gists{/gist_id}","starred_url":"https://api.github.com/users/ndufreche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndufreche/subscriptions","organizations_url":"https://api.github.com/users/ndufreche/orgs","repos_url":"https://api.github.com/users/ndufreche/repos","events_url":"https://api.github.com/users/ndufreche/events{/privacy}","received_events_url":"https://api.github.com/users/ndufreche/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/backbee/BbCoreJs/milestones/1","html_url":"https://github.com/backbee/BbCoreJs/milestones/0.1","labels_url":"https://api.github.com/repos/backbee/BbCoreJs/milestones/1/labels","id":895948,"number":1,"title":"0.1","description":null,"creator":{"login":"mickaelandrieu","id":1247388,"avatar_url":"https://avatars.githubusercontent.com/u/1247388?v=3","gravatar_id":"","url":"https://api.github.com/users/mickaelandrieu","html_url":"https://github.com/mickaelandrieu","followers_url":"https://api.github.com/users/mickaelandrieu/followers","following_url":"https://api.github.com/users/mickaelandrieu/following{/other_user}","gists_url":"https://api.github.com/users/mickaelandrieu/gists{/gist_id}","starred_url":"https://api.github.com/users/mickaelandrieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickaelandrieu/subscriptions","organizations_url":"https://api.github.com/users/mickaelandrieu/orgs","repos_url":"https://api.github.com/users/mickaelandrieu/repos","events_url":"https://api.github.com/users/mickaelandrieu/events{/privacy}","received_events_url":"https://api.github.com/users/mickaelandrieu/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":40,"state":"open","created_at":"2014-12-08T16:35:21Z","updated_at":"2015-04-29T14:39:51Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-26T15:51:09Z","updated_at":"2015-04-29T14:48:27Z","closed_at":null,"body":"In bundle.view.index.js in bundle application :\r\n```js\r\n            /**\r\n             * Enable or disable the current bundle\r\n             * @param {Object} event\r\n             */\r\n            doExtensionActivation: function (event) {\r\n                var self = jQuery(event.currentTarget),\r\n                    bundleId = self.parent().attr('data-bundle-id'),\r\n                    enableClass,\r\n                    enable;\r\n\r\n                if (self.hasClass('enable')) {\r\n                    enableClass = \"enable\";\r\n                    enable = true;\r\n                } else if (self.hasClass('disable')) {\r\n                    enableClass = \"disable\";\r\n                    enable = false;\r\n                }\r\n\r\n                if (confirm('Do you want to ' + enableClass + ' this bundle ?')) {\r\n                    self.siblings('a').removeClass('active');\r\n                    self.addClass('active');\r\n                    BundleRepository.active(enable, bundleId);\r\n                }\r\n            },\r\n```\r\n\r\nWe have to replace the confirme popout by a popin."},"comment":{"url":"https://api.github.com/repos/backbee/BbCoreJs/issues/comments/97454024","html_url":"https://github.com/backbee/BbCoreJs/issues/318#issuecomment-97454024","issue_url":"https://api.github.com/repos/backbee/BbCoreJs/issues/318","id":97454024,"user":{"login":"clementbonfils","id":10673014,"avatar_url":"https://avatars.githubusercontent.com/u/10673014?v=3","gravatar_id":"","url":"https://api.github.com/users/clementbonfils","html_url":"https://github.com/clementbonfils","followers_url":"https://api.github.com/users/clementbonfils/followers","following_url":"https://api.github.com/users/clementbonfils/following{/other_user}","gists_url":"https://api.github.com/users/clementbonfils/gists{/gist_id}","starred_url":"https://api.github.com/users/clementbonfils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clementbonfils/subscriptions","organizations_url":"https://api.github.com/users/clementbonfils/orgs","repos_url":"https://api.github.com/users/clementbonfils/repos","events_url":"https://api.github.com/users/clementbonfils/events{/privacy}","received_events_url":"https://api.github.com/users/clementbonfils/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T14:48:27Z","updated_at":"2015-04-29T14:48:27Z","body":"error when trying to desactivate bundle"}}