Use a form for the Try Again button in error pages
Fixes: https://bugs.launchpad.net/midori/+bug/784931
This commit is contained in:
parent
7f549b89a9
commit
3a8ce008ad
2 changed files with 7 additions and 4 deletions
|
@ -68,10 +68,12 @@ description {
|
|||
<h1>{title}</h1>
|
||||
<p id="message">{message}</p>
|
||||
<p id="description">{description}</p>
|
||||
<button onclick="location.reload()">
|
||||
<img src="{stock}/gtk-refresh"/>
|
||||
<span>{tryagain}</span>
|
||||
</button>
|
||||
<form method="GET" action="{uri}">
|
||||
<button type="submit" onclick="location.reload(); return false;">
|
||||
<img src="{stock}/gtk-refresh"/>
|
||||
<span>{tryagain}</span>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
<br style="clear: both;"/>
|
||||
</div>
|
||||
|
|
|
@ -1479,6 +1479,7 @@ midori_view_display_error (MidoriView* view,
|
|||
"{tryagain}", try_again,
|
||||
"{res}", res_root,
|
||||
"{stock}", stock_root,
|
||||
"{uri}", uri,
|
||||
NULL);
|
||||
g_free (title_escaped);
|
||||
g_free (template);
|
||||
|
|
Loading…
Reference in a new issue