The Add folder modal does not disable the add button while loading
- Get on a TGV.
- Log onto the onboard Wi-Fi.
- Accidentally cause the Wi-Fi portal to crash, while still having Internet access.
- Under the Actions menu, click on Add folder.
- Type in a folder name and type.
- Click the Add folder button over and over.
- Get lots of notifications for many created folders.
- Admire the many duplicate folders that are now in the list.
- Cry.
The modal should mark the button as disabled
, add a is-loading
class, and prevent creating with a if (!this.loading)
when the button is clicked.