Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Right now, the cancel button is always visible and active. However, initially (until any changes are made), there is nothing to cancel! We should hide it until some changes are made.
Comment | File | Size | Author |
---|---|---|---|
#2 | panels-ipe-hide-cancel-button-2636488-2.patch | 7.69 KB | samuel.mortenson |
|
Comments
Comment #2
samuel.mortensonThis patch adds the ability for Tabs to be hidden, and hides the cancel tab is the App has unsaved changes. The improvements in data modeling will also allow for things like confirmation popups when leaving the page, or other behavioral changes based on an unsaved state.
Comment #3
phenaproximaManually tested this and it worked quite well for me! The code looks fine, too.
Comment #5
samuel.mortensonCommitted, thanks for the review!