assert(!empty($cur)); // checked by parent
if ($cur->hasBlocked($this->profile)) {
- $this->clientError(_("You already blocked that user."));
+ $this->clientError(_('You already blocked that user.'));
return false;
}
return;
}
}
+
+ function showScripts()
+ {
+ parent::showScripts();
+ $this->autofocus('form_action-yes');
+ }
+
}