From: <jon...@us...> - 2009-10-05 13:26:26
|
Revision: 22009 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=22009&view=rev Author: jonnybradley Date: 2009-10-05 13:26:19 +0000 (Mon, 05 Oct 2009) Log Message: ----------- [FIX] Change to use a session cookie for wiki_plugin_edit_view (setCookie seems to default to one year expiry) Modified Paths: -------------- trunk/templates/tiki-wiki_topline.tpl Modified: trunk/templates/tiki-wiki_topline.tpl =================================================================== --- trunk/templates/tiki-wiki_topline.tpl 2009-10-05 12:58:37 UTC (rev 22008) +++ trunk/templates/tiki-wiki_topline.tpl 2009-10-05 13:26:19 UTC (rev 22009) @@ -27,7 +27,7 @@ if (src.indexOf("wiki_plugin_edit_view") > -1) { $jq(".editplugin, .icon_edit_section").show(); $jq("#wiki_plugin_edit_view img").attr("src", src.replace("wiki_plugin_edit_view", "wiki_plugin_edit_hide")); - setCookie("wiki_plugin_edit_view", true); + setCookieBrowser("wiki_plugin_edit_view", true); } else { $jq(".editplugin, .icon_edit_section").hide(); $jq("#wiki_plugin_edit_view img").attr("src", src.replace("wiki_plugin_edit_hide", "wiki_plugin_edit_view")); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |