{"action":"opened","issue":{"url":"https://api.github.com/repos/publiclab/plots2/issues/2529","repository_url":"https://api.github.com/repos/publiclab/plots2","labels_url":"https://api.github.com/repos/publiclab/plots2/issues/2529/labels{/name}","comments_url":"https://api.github.com/repos/publiclab/plots2/issues/2529/comments","events_url":"https://api.github.com/repos/publiclab/plots2/issues/2529/events","html_url":"https://github.com/publiclab/plots2/issues/2529","id":307827856,"number":2529,"title":"Upload main image button to rich editor at /post doesn't start uploading","user":{"login":"jywarren","id":24359,"avatar_url":"https://avatars1.githubusercontent.com/u/24359?v=4","gravatar_id":"","url":"https://api.github.com/users/jywarren","html_url":"https://github.com/jywarren","followers_url":"https://api.github.com/users/jywarren/followers","following_url":"https://api.github.com/users/jywarren/following{/other_user}","gists_url":"https://api.github.com/users/jywarren/gists{/gist_id}","starred_url":"https://api.github.com/users/jywarren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jywarren/subscriptions","organizations_url":"https://api.github.com/users/jywarren/orgs","repos_url":"https://api.github.com/users/jywarren/repos","events_url":"https://api.github.com/users/jywarren/events{/privacy}","received_events_url":"https://api.github.com/users/jywarren/received_events","type":"User","site_admin":false},"labels":[{"id":343384588,"url":"https://api.github.com/repos/publiclab/plots2/labels/JavaScript","name":"JavaScript","color":"fbca04","default":false},{"id":42345818,"url":"https://api.github.com/repos/publiclab/plots2/labels/bug","name":"bug","color":"fc2929","default":true},{"id":173349489,"url":"https://api.github.com/repos/publiclab/plots2/labels/help-wanted","name":"help-wanted","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-22T21:51:29Z","updated_at":"2018-03-22T21:51:29Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Dragging an image in works fine, but (in Chrome/ChromeOS, Firefox Android both) clicking the \"upload\" button and selecting an image creates this JS error:\r\n\r\n```js\r\nUncaught RangeError: Maximum call stack size exceeded\r\n```\r\n\r\nIts on line 1076 of `jquery.fileupload.js`:\r\n\r\n```js\r\n                    that._replaceFileInput(data.fileInput);\r\n```\r\nThere's some issue with the callback `add()` method of `jQuery.callbacks`:\r\n\r\n```\r\njQuery.Callbacks = function( options ) {\r\n```\r\n\r\n```\r\njquery.fileupload.js:1076 Uncaught RangeError: Maximum call stack size exceeded\r\n    at Object.<anonymous> (https://publiclab.org/lib/jquery-file-upload/js/jquery.fileupload.js:1076:26)\r\n    at fire (https://publiclab.org/assets/application-523218f5f81fa214d6e1c4cadcff366e.js:3120:30)\r\n    at Object.add [as done] (https://publiclab.org/assets/application-523218f5f81fa214d6e1c4cadcff366e.js:3166:7)\r\n    at Object.always (https://publiclab.org/assets/application-523218f5f81fa214d6e1c4cadcff366e.js:3267:15)\r\n    at $.(anonymous function).(anonymous function)._onChange (https://publiclab.org/lib/jquery-file-upload/js/jquery.fileupload.js:1073:53)\r\n    at $.(anonymous function).(anonymous function)._onChange (https://publiclab.org/lib/jquery-file-upload/js/vendor/jquery.ui.widget.js:105:25)\r\n    at HTMLInputElement.handlerProxy (https://publiclab.org/lib/jquery-file-upload/js/vendor/jquery.ui.widget.js:406:7)\r\n    at HTMLInputElement.dispatch (https://publiclab.org/assets/application-523218f5f81fa214d6e1c4cadcff366e.js:4642:9)\r\n    at HTMLInputElement.elemData.handle (https://publiclab.org/assets/application-523218f5f81fa214d6e1c4cadcff366e.js:4310:28)\r\n    at Object.trigger (https://publiclab.org/assets/application-523218f5f81fa214d6e1c4cadcff366e.js:4551:12)\r\n```"}}
{"actor":{"display_login":"jywarren"}}