summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2012-07-22 00:23:40 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2012-07-22 00:23:40 -0400
commit1a7fc05dc00a4633df686b1e332712ec5944c0ce (patch)
tree6f37e312ff8ef83c8c0fc5b31dbc642c5ea7f304
parent1d5d15450209599ec7c38f7560e56050ec4148eb (diff)
parentc640394a1eef9d24bd10d766a7ef44953b257df0 (diff)
ok only in atrium
-rw-r--r--static/js/pichat.js8
-rw-r--r--static/js/pichat2.js8
-rw-r--r--static/js/src/palette-manual.js8
3 files changed, 15 insertions, 9 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js
index 9a28450..ad48981 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -1457,9 +1457,11 @@ if(!manPaletteOpen) {
// ohgod - checkbox to hide the userlist
$(function(){
if ($('#textbutton').length == 0) return;
- $('#textbutton input').attr('checked', true);
- TextEnabled = true;
- if (setTextEnable) setTextEnable.apply($('#textbutton input')[0]);
+ if (window.Room && Room == "atrium") {
+ $('#textbutton input').attr('checked', true);
+ TextEnabled = true;
+ if (setTextEnable) setTextEnable.apply($('#textbutton input')[0]);
+ }
$('<div style="float:right; height:20px; margin-left:10px;"><label for="showulist"><span>show userlist?</span></label><input type="checkbox" id="showulist" checked></div>').prependTo('#chatbuttons');
$('#showulist').change(function(){ $('#userList').toggle( this.checked ); });
});
diff --git a/static/js/pichat2.js b/static/js/pichat2.js
index 9a28450..ad48981 100644
--- a/static/js/pichat2.js
+++ b/static/js/pichat2.js
@@ -1457,9 +1457,11 @@ if(!manPaletteOpen) {
// ohgod - checkbox to hide the userlist
$(function(){
if ($('#textbutton').length == 0) return;
- $('#textbutton input').attr('checked', true);
- TextEnabled = true;
- if (setTextEnable) setTextEnable.apply($('#textbutton input')[0]);
+ if (window.Room && Room == "atrium") {
+ $('#textbutton input').attr('checked', true);
+ TextEnabled = true;
+ if (setTextEnable) setTextEnable.apply($('#textbutton input')[0]);
+ }
$('<div style="float:right; height:20px; margin-left:10px;"><label for="showulist"><span>show userlist?</span></label><input type="checkbox" id="showulist" checked></div>').prependTo('#chatbuttons');
$('#showulist').change(function(){ $('#userList').toggle( this.checked ); });
});
diff --git a/static/js/src/palette-manual.js b/static/js/src/palette-manual.js
index 19175d9..b35fa9c 100644
--- a/static/js/src/palette-manual.js
+++ b/static/js/src/palette-manual.js
@@ -211,9 +211,11 @@ if(!manPaletteOpen) {
// ohgod - checkbox to hide the userlist
$(function(){
if ($('#textbutton').length == 0) return;
- $('#textbutton input').attr('checked', true);
- TextEnabled = true;
- if (setTextEnable) setTextEnable.apply($('#textbutton input')[0]);
+ if (window.Room && Room == "atrium") {
+ $('#textbutton input').attr('checked', true);
+ TextEnabled = true;
+ if (setTextEnable) setTextEnable.apply($('#textbutton input')[0]);
+ }
$('<div style="float:right; height:20px; margin-left:10px;"><label for="showulist"><span>show userlist?</span></label><input type="checkbox" id="showulist" checked></div>').prependTo('#chatbuttons');
$('#showulist').change(function(){ $('#userList').toggle( this.checked ); });
});