From 1367a246fb0822e63a92d7e9f6e272ba503db998 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Tue, 23 Nov 2010 00:04:02 +0000 Subject: [PATCH] Pressing enter in an input field doesn't trigger display:none elements in WebKit-browsers. Either put Back-button after Continue (visually not a good choise)... or keep the current double-button-first-hidden approach but in a different way that doesn't use display:none. Doing the latter for now. --- includes/installer/WebInstallerPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index 0c38581b21..a7e89f983b 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -60,7 +60,7 @@ abstract class WebInstallerPage { if ( $continue ) { // Fake submit button for enter keypress $s .= Xml::submitButton( wfMsg( "config-$continue" ), - array( 'name' => "enter-$continue", 'style' => 'display:none' ) ) . "\n"; + array( 'name' => "enter-$continue", 'style' => 'visibility:hidden;overflow:hidden;width:1px;margin:0' ) ) . "\n"; } if ( $id !== 0 ) { -- 2.20.1