1
0
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:
Meik Sievertsen
2009-08-30 17:50:11 +00:00
parent 3f22f755a3
commit bf1621c05d
5 changed files with 154 additions and 7 deletions

View File

@@ -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]