mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Style authors are now able to define the default submit button used for form submission on ENTER keypress on forms using more than one. Prosilver uses this for the posting page(s) and registration screen.
(we further test this at phpbb.com) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10069 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1163,8 +1163,14 @@ function handle_message_list_actions(&$address_list, &$error, $remove_u, $remove
|
||||
|
||||
global $refresh, $submit, $preview;
|
||||
|
||||
$refresh = $preview = true;
|
||||
$refresh = true;
|
||||
$submit = false;
|
||||
|
||||
// Preview is only true if there was also a message entered
|
||||
if (request_var('message', ''))
|
||||
{
|
||||
$preview = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Add User/Group [TO]
|
||||
|
Reference in New Issue
Block a user