zulip/static
Steve Howell 8530ed0b5e org settings: Make button-clicking code more clear.
On the "Organization settings" page, we had two Save buttons
for admins that had identical markup.  This was confusing for
people reading the code.  Now the two buttons have different
markup and individual, targeted click handlers (albeit still
calling the same function to do most of the work).

The context of this fix is that I was debugging a
Casper flake where our Casper tests were essentially clicking
on the same button twice.  Depending on the timing,
the second button click could cause a "No changes saved!"
behavior that confused the Casper test.  It is unclear whether
Casper was clicking both buttons here (in which case this fix
is necessary) or the same button twice (in which case this fix
just removes a nasty red herring for debugging).

The code still has the flaw that both buttons basically submit
the same data to the server, despite the appearance on the page
that there are two forms.  The best fix for that is probably
just to move the Language/Notifications stuff to another
panel.  I wanted to avoid touching this code altogether, but
the minor modifications here were necessary to improve the
Capser testing situation.
2018-01-16 13:25:19 -05:00
..
assets icons: Create framework for custom icons and add new bot icon. 2017-11-10 11:18:42 -08:00
audio
generated
html frontend: Add header to static/5xx.html. 2017-07-28 17:45:23 -07:00
icons/fonts Generate custom-icon-webfont on each provision or update-prod-static. 2017-11-20 16:36:49 -08:00
images webhooks: Create Intercom integration and docs. 2018-01-16 08:51:17 -05:00
js org settings: Make button-clicking code more clear. 2018-01-16 13:25:19 -05:00
locale Renamed 'Register' to 'Sign up' including translations 2017-12-18 10:02:15 -05:00
styles /team: Fetch zulip-js repository data. 2018-01-16 12:23:19 -05:00
swagger docs: Update links from codebase to point to ReadTheDocs. 2017-11-16 10:53:49 -08:00
templates org settings: Make button-clicking code more clear. 2018-01-16 13:25:19 -05:00
third bugdown: Remove whitespace strip from inline code. 2017-12-14 07:48:10 -05:00
ts Add typescript support to asset compilation. 2017-05-28 17:28:28 -07:00
.gitignore gitignore: Add static/generated/icons. 2017-11-21 09:27:04 -08:00
favicon.ico
node_modules