mirror of https://github.com/zulip/zulip.git
42d886a6d5
User was able to click delete button multiple time which could cause multiple delete requests. This commit disables and hides the delete message button after the first click and shows a spinner until http the delete request responds. Also adds a casperjs test to ensure that spinner becomes visible and delete button becomes invisible after clicking on delete button for first time and hides spinner and show delete buttton when message is deleted. Fixes: #11219. |
||
---|---|---|
.. | ||
00-realm-creation.js | ||
01-login.js | ||
02-site.js | ||
03-narrow.js | ||
04-compose.js | ||
05-subscriptions.js | ||
06-settings.js | ||
07-stars.js | ||
08-edit.js | ||
09-navigation.js | ||
10-admin.js | ||
11-mention.js | ||
12-toggle-message-editing.js | ||
13-user-deactivation.js | ||
14-drafts.js | ||
15-delete-message.js | ||
16-copy-and-paste.js |