add Id SVN keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
/*****************************************************************************
|
||||
** Name: wxwidgets.js
|
||||
** Purpose: The wxWidgets documentation javascript
|
||||
** Author: Doxygen team
|
||||
** RCS-ID: $Id$
|
||||
** Licence: wxWindows license
|
||||
*****************************************************************************/
|
||||
|
||||
// from w3schools
|
||||
function getCookie(c_name)
|
||||
{
|
||||
@@ -5,12 +13,12 @@ function getCookie(c_name)
|
||||
{
|
||||
c_start=document.cookie.indexOf(c_name + "=");
|
||||
if (c_start!=-1)
|
||||
{
|
||||
c_start=c_start + c_name.length+1;
|
||||
{
|
||||
c_start=c_start + c_name.length+1;
|
||||
c_end=document.cookie.indexOf(";",c_start);
|
||||
if (c_end==-1) c_end=document.cookie.length;
|
||||
return unescape(document.cookie.substring(c_start,c_end));
|
||||
}
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user