GUI, Webengine version: the computed doc number for the right-click menu was wrong on any page but the first

This commit is contained in:
Jean-Francois Dockes
2020-06-14 14:32:48 +02:00
parent 1eeeba4874
commit e051de0a37
3 changed files with 7 additions and 27 deletions
+1 -1
View File
@@ -358,7 +358,7 @@ void ResListPager::displayPage(RclConfig *config)
<< "<meta http-equiv=\"content-type\""
<< " content=\"text/html; charset=utf-8\">" << endl
<< headerContent()
<< "</head><body>" << endl
<< "</head><body " << bodyAttrs() << ">" << endl
<< pageTop()
<< "<p><span style=\"font-size:110%;\"><b>"
<< m_docSource->title()
+1
View File
@@ -116,6 +116,7 @@ public:
}
virtual string absSep() {return "&hellip;";}
virtual string linkPrefix() {return "";}
virtual string bodyAttrs() {return string();}
private:
int m_pagesize;
bool m_alwaysSnippets;