Changes between Initial Version and Version 1 of Ticket #30035, comment 4
- Timestamp:
- 11/26/2014 04:24:59 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30035, comment 4
initial v1 1 1 attachment:30035.mov shows what putting a button in the Publish meta box does. 2 2 3 Clicking our button adds [https://core.trac.wordpress.org/browser/tags/3.9.1/src/wp-admin/js/post.js?annotate=blame#L432 the callback] that's only intended for the submit button, so when Preview button is clicked, this callback runs unintentionally, and disables the submit buttons.3 Clicking our button adds [https://core.trac.wordpress.org/browser/tags/3.9.1/src/wp-admin/js/post.js?annotate=blame#L432 the callback] that's only intended only to be added when the submit button is clicked, so when Preview button is clicked, this callback runs unintentionally, and disables the submit buttons.