mango r190 - in trunk: . www
- From: ovitters svn gnome org
- To: svn-commits-list gnome org,gnome-sysadmin gnome org
- Subject: mango r190 - in trunk: . www
- Date: Tue, 3 Jun 2008 19:56:43 +0000 (UTC)
Author: ovitters
Date: Tue Jun 3 19:56:42 2008
New Revision: 190
URL: http://svn.gnome.org/viewvc/mango?rev=190&view=rev
Log:
* www/index.xsl: Add a focus function to the onload handler. The
inline javascript executes way too early to do anything.
* www/login.xsl: Add a focus function to the onload handler. The
inline javascript executes way too early to do anything.
Modified:
trunk/ChangeLog
trunk/www/index.xsl
trunk/www/login.xsl
Modified: trunk/www/index.xsl
==============================================================================
--- trunk/www/index.xsl (original)
+++ trunk/www/index.xsl Tue Jun 3 19:56:42 2008
@@ -64,7 +64,10 @@
</table>
</form>
<script language="JavaScript">
+ function setf() {
document.forms['f'].login.focus();
+ }
+ window.onload = setf;
</script>
</xsl:when>
<xsl:otherwise>
Modified: trunk/www/login.xsl
==============================================================================
--- trunk/www/login.xsl (original)
+++ trunk/www/login.xsl Tue Jun 3 19:56:42 2008
@@ -51,7 +51,10 @@
</table>
</form>
<script language="JavaScript">
- document.forms['f'].login.focus();
+ function setf() {
+ document.forms['f'].login.focus();
+ }
+ window.onload = setf;
</script>
<!-- TODO: Think of a way of resetting forgotten passwords safely
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]