[Xfce4-commits] <midori:master> Use simple button instead of form in error pages

Christian Dywan noreply at xfce.org
Mon Mar 22 21:56:01 CET 2010


Updating branch refs/heads/master
         to 342aaeb2d65859a2ad811a1dfa267690f63bc75b (commit)
       from c68c71d96b160bdbba8eb9adce968d269a99200b (commit)

commit 342aaeb2d65859a2ad811a1dfa267690f63bc75b
Author: André Stösel <Midori-Plugin at PyIT.de>
Date:   Mon Mar 22 21:35:14 2010 +0100

    Use simple button instead of form in error pages

 data/error.html |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/data/error.html b/data/error.html
index 600a6c8..fd63f2b 100644
--- a/data/error.html
+++ b/data/error.html
@@ -68,12 +68,10 @@ description {
             <h1>{title}</h1>
             <p id="message">{message}</p>
             <p id="description">{description}</p>
-            <form onsubmit="location.reload()">
-                <button>
-                    <img src="{stock}/gtk-refresh"/>
-                    <span>{tryagain}</span>
-                </button>
-            </form>
+            <button onclick="location.reload()">
+                <img src="{stock}/gtk-refresh"/>
+                <span>{tryagain}</span>
+            </button>
         </div>
         <br style="clear: both;"/>
     </div>



More information about the Xfce4-commits mailing list