[Checkins] [zopefoundation/Zope] 52de7c: Simplify ‚Add type‘ popup in folder view.
GitHub
noreply at github.com
Thu May 17 16:02:55 CEST 2018
Branch: refs/heads/zmi-bootstrap
Home: https://github.com/zopefoundation/Zope
Commit: 52de7c4ce177c967419ccc477133816ff9d83e53
https://github.com/zopefoundation/Zope/commit/52de7c4ce177c967419ccc477133816ff9d83e53
Author: Martin Häcker <mhaecker at mac.com>
Date: 2018-05-17 (Thu, 17 May 2018)
Changed paths:
M src/OFS/zpt/main.zpt
Log Message:
-----------
Simplify ‚Add type‘ popup in folder view.
- Removed Label (really, just made it invisible, so it is only visible to screen readers)
- Added Disabled initial label, that acts as a default selection so the popup explains itself
- Ensured that after a selection the popup is reset to the default choice.
All these changes achieve a much simpler add menu, that reliably works even if you want to select the same entry multiple times without reloading the page (i.e. when navigating back).
Before these changes, this required the add button, as you could otherwise not add the same kind of element twice.
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the checkins
mailing list