Changes between Initial Version and Version 1 of Ticket #6846, comment 21
- Timestamp:
- 01/29/2016 06:22:59 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6846, comment 21
initial v1 1 1 The "Select a File" button did not work for me in `02.patch` as `this.uploader.uploader.refresh()` is not valid. 2 2 3 `03.patch` does. It's a little ugly, but it works. I've added a check in `bp-plupload.js` to see if a Thickbox link was clicked from the wp-admin area. If so, we use `uploader.refresh()`. Tested in Edge, IE11, Firefox and Chrome.3 `03.patch` works, but it is a little ugly. I've added a check in `bp-plupload.js` to see if a Thickbox link was clicked from the wp-admin area. If so, we use the `uploader.refresh()` method. Tested in Edge, IE11, Firefox and Chrome. 4 4 5 I would have liked to add this in `avatar.js`, but wasn't sure how to get the `uploader` instance working correctly. But, maybe it is beneficial for the code to live in `bp-plupload.js`.5 I would have liked to add this in `avatar.js`, but wasn't sure how to call the `uploader` instance from there. But, maybe it is beneficial for the code to live in `bp-plupload.js`.