try to make the reply button do the right thing if there's no notification box.
darcs-hash:20080827015010-84dde-d5ed6a0a290273e400b71e4623a54ac88ee29173.gz
This commit is contained in:
parent
4787fb5a05
commit
719470994a
@ -46,8 +46,9 @@ function doreply(nick) {
|
||||
if ($("#status_textarea")) {
|
||||
$("#status_textarea").val(replyto);
|
||||
$("#status_textarea").focus();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -120,7 +120,7 @@ class StreamAction extends Action {
|
||||
common_element_start('a',
|
||||
array('href' => common_local_url('newnotice',
|
||||
array('replyto' => $profile->nickname)),
|
||||
'onclick' => 'doreply("'.$profile->nickname.'"); return false',
|
||||
'onclick' => 'return doreply("'.$profile->nickname.'");',
|
||||
'title' => _('reply'),
|
||||
'class' => 'replybutton'));
|
||||
common_raw('→');
|
||||
|
Loading…
Reference in New Issue
Block a user