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>
|
<h1>{title}</h1>
|
||||||
<p id="message">{message}</p>
|
<p id="message">{message}</p>
|
||||||
<p id="description">{description}</p>
|
<p id="description">{description}</p>
|
||||||
<button onclick="location.reload()">
|
<form method="GET" action="{uri}">
|
||||||
|
<button type="submit" onclick="location.reload(); return false;">
|
||||||
<img src="{stock}/gtk-refresh"/>
|
<img src="{stock}/gtk-refresh"/>
|
||||||
<span>{tryagain}</span>
|
<span>{tryagain}</span>
|
||||||
</button>
|
</button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<br style="clear: both;"/>
|
<br style="clear: both;"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1479,6 +1479,7 @@ midori_view_display_error (MidoriView* view,
|
||||||
"{tryagain}", try_again,
|
"{tryagain}", try_again,
|
||||||
"{res}", res_root,
|
"{res}", res_root,
|
||||||
"{stock}", stock_root,
|
"{stock}", stock_root,
|
||||||
|
"{uri}", uri,
|
||||||
NULL);
|
NULL);
|
||||||
g_free (title_escaped);
|
g_free (title_escaped);
|
||||||
g_free (template);
|
g_free (template);
|
||||||
|
|
Loading…
Reference in a new issue