zulip/static
sahil839 8f736e6917 invite: Fix text of submit-invitation button on completion.
There is a bug in invite flow, where the button text resets
to incorrect text after the invitation process is completed.
This bug is because we are using $().button("reset") to
reset the button text, but the data-reset-text attribute of
button is not changed when toggling between multi-use link
invite and email invites.

This bug can be fixed by setting data-reset-text attribute
in a way similar to the way we set data-loading-text attribute
on toggling between multiuse and normal invites.

But according to the bootstrap docs,"reset" method was removed
in v4.0 (https://getbootstrap.com/docs/4.0/migration/#buttons).

Though we are not using Bootstrap v4.0 as of now, but it is
good to remove such methods as it will help in future when we
would upgrade to later bootstrap versions.

So instead of fixing this by above mentioned patch, we are
fixing this by removing "reset" method and instead using simple
jquery to reset the text and enable the button after the invite
process is completed.
2020-09-29 16:50:27 -07:00
..
assets dependencies: Upgrade JavaScript dependencies. 2020-09-24 16:33:45 -07:00
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html logo: Update Zulip logo. 2020-07-16 01:37:08 -07:00
images integrations: Re-add Canarytoken integration. 2020-07-20 15:34:40 -07:00
js invite: Fix text of submit-invitation button on completion. 2020-09-29 16:50:27 -07:00
shared markdown: bugfix: Fix importing pygments data for codeblock header creation. 2020-09-28 15:39:31 -07:00
styles css: Add styling for code_external_link hyperlink. 2020-09-28 16:04:54 -07:00
templates popover: Add UI model to view code in playground(s). 2020-09-28 16:04:54 -07:00
third styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
.gitignore team: Generate team page data using cron job. 2020-04-08 12:52:31 -07:00