hide and disable ToSelector for replies

This commit is contained in:
Evan Prodromou
2011-04-11 12:55:49 -04:00
parent d197c86a61
commit 09cffc1928
3 changed files with 9 additions and 1 deletions

View File

@@ -655,6 +655,10 @@ var SN = { // StatusNet
var nextStep = function() {
// Override...?
replyForm.find('input[name=inreplyto]').val(id);
replyForm.find('#notice_to').attr('disabled', 'disabled').hide();
replyForm.find('#notice_private').attr('disabled', 'disabled').hide();
replyForm.find('label[for=notice_to]').hide();
replyForm.find('label[for=notice_private]').hide();
// Set focus...
var text = replyForm.find('textarea');