Enlarged dsl images: go back on click on picture

This commit is contained in:
Abs62 2012-12-08 13:09:21 +04:00
parent 0408201f37
commit 8185329bf1

View file

@ -271,7 +271,8 @@ sptr< Dictionary::DataRequest > ArticleMaker::makeEmptyPage() const
sptr< Dictionary::DataRequest > ArticleMaker::makePicturePage( string const & url ) const sptr< Dictionary::DataRequest > ArticleMaker::makePicturePage( string const & url ) const
{ {
string result = makeHtmlHeader( tr( "(picture)" ), QString() ) string result = makeHtmlHeader( tr( "(picture)" ), QString() )
+ "<img src=\"" + url + "\" />" + "<a href=\"javascript: if(history.length>2) history.go(-1)\">"
+ "<img src=\"" + url + "\" /></a>"
+ "</body></html>"; + "</body></html>";
sptr< Dictionary::DataRequestInstant > r = sptr< Dictionary::DataRequestInstant > r =