GoogleCodeArchive / tapirwiki

Automatically exported from code.google.com/p/tapirwiki
1 stars 0 forks source link

Set wiki page title as title for the html document #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Set wiki page title as title for the html document so the browser window also 
has the page title in it. This makes it more clear if you have multiple 
wikipages open in different tabs.

Easy added by adding:

document.title = this._id + ' - TapirWiki';

to the wiki.display() function in tapirwiki.js

I'd put the 'TapirWiki' part of the page title second because if the tabs 
buttons get smaller only the first part will be shown being the unique page id.

Original issue reported on code.google.com by tom.sa...@gmail.com on 10 Aug 2010 at 1:30

GoogleCodeExporter commented 9 years ago
Hi Tom,
Thanks for the feedback. This issue has already been resolved some time ago. If 
you pull the latest version, after changing the wikiName in TAPIRWIKISETTINGS 
the title of the wiki and the title of the browser tab are changed accordingly. 
Please note that there are actually two branches in the repository "default" 
and "dev". The latest version is on the "dev" branch. If you clone or pull you 
have to issue a "hg  update dev" to get the latest version of the dev branch as 
your working set. Otherwise hg will copy the latest version of the default 
branch which is a much earlier version (coincides with the latest 'release').
Cheers!

Original comment by jeroen....@gmail.com on 15 Aug 2010 at 5:46

GoogleCodeExporter commented 9 years ago
Ok didn't notice the dev branch, my fault, I'll check that one out.

Original comment by tom.sa...@gmail.com on 16 Aug 2010 at 9:26