Rename zephyr-type-tabs to message-type-tabs.

(imported from commit 623d226209bc6cbe20721be08a271e52185ea65e)
This commit is contained in:
Tim Abbott
2012-10-09 17:46:41 -04:00
parent dfc0b1a4d9
commit 78c303e44a
4 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ var status_classes = 'alert-error alert-success alert-info';
function show_compose(tabname, focus_area) {
$('#zephyr_compose').css({visibility: "visible"});
$('.zephyr_comp').slideDown(100);
$('#zephyr-type-tabs a[href="#' + tabname + '-message"]').tab('show');
$('#message-type-tabs a[href="#' + tabname + '-message"]').tab('show');
focus_area.focus();
focus_area.select();
}
@@ -25,7 +25,7 @@ function compose_button() {
}
function toggle_compose() {
if ($("#zephyr-type-tabs li.active").find("a[href=#class-message]").length !== 0) {
if ($("#message-type-tabs li.active").find("a[href=#class-message]").length !== 0) {
// In class tab, switch to personals.
show_compose('personal', $("#huddle_recipient"));
} else {