Hide right-sidebar user/group PM list from MIT.

(imported from commit 2e3ba1ffd3a33450580a164c0aa1ced23eee37c2)
This commit is contained in:
Waseem Daher
2013-11-28 13:13:01 -08:00
parent 57b6ba4250
commit aeaac45fd0
2 changed files with 10 additions and 0 deletions

View File

@@ -200,6 +200,10 @@ function update_users() {
}
exports.update_huddles = function () {
if (page_params.domain === 'mit.edu') {
return; // MIT realm doesn't have a presence list
}
var section = $('#group-pm-list').expectOne();
var huddles = exports.get_huddles().slice(0, 10);

View File

@@ -1582,6 +1582,12 @@ $(function () {
.text("Bringing you to your latest messages…"));
});
// Some MIT-specific customizations
if (page_params.domain === 'mit.edu') {
$("#user-list").hide();
$("#group-pm-list").hide();
}
// initialize other stuff
composebox_typeahead.initialize();
search.initialize();