Unbreak custom alert words on the settings page.

This doesn't change the alerting UI logic, it just turns
alert_words_ui into a module and calls the setup code from settings.js
when the settings page is rendered.

(imported from commit 05f95383b046086641280f82f648be58688efe61)
This commit is contained in:
Jessica McKellar
2014-03-04 17:37:29 -05:00
parent f445202ba5
commit 5f7df38b8a
3 changed files with 48 additions and 37 deletions

View File

@@ -30,6 +30,8 @@ exports.setup_page = function () {
$("#notify-settings-status").hide();
$("#ui-settings-status").hide();
alert_words_ui.set_up_alert_words();
$("#api_key_value").text("");
$("#get_api_key_box").hide();
$("#show_api_key_box").hide();