r68545 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68544‎ | r68545 | r68546 >
Date:02:58, 25 June 2010
Author:laner
Status:deferred
Tags:
Comment:
Actually setting the cookie path....
Modified paths:
  • /trunk/extensions/JSBreadCrumbs/js/BreadCrumbs.js (modified) (history)

Diff [purge]

Index: trunk/extensions/JSBreadCrumbs/js/BreadCrumbs.js
@@ -39,6 +39,6 @@
4040 titleState.push( wgPageName );
4141 urlState.push( location.pathname + location.search );
4242
43 - $j.cookie( 'mwext-bc-title', titleState.join( wgJSBreadCrumbsSeparator ), { path: '/' } );
44 - $j.cookie( 'mwext-bc-url', urlState.join( wgJSBreadCrumbsSeparator ), { path: '/' } );
 43+ $j.cookie( 'mwext-bc-title', titleState.join( wgJSBreadCrumbsSeparator ), { path: wgJSBreadCrumbsCookiePath } );
 44+ $j.cookie( 'mwext-bc-url', urlState.join( wgJSBreadCrumbsSeparator ), { path: wgJSBreadCrumbsCookiePath } );
4545 } );

Status & tagging log