mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
make the settings of the active tab from the GET value working under IE6 too
This commit is contained in:
parent
078a60bced
commit
559936fa29
@ -199,7 +199,9 @@ function Tabs(nrTabs,activeCSSclass,inactiveCSSclass,HTMLtabID,HTMLtabcontentID,
|
||||
function init()
|
||||
{
|
||||
var tab = 0;
|
||||
var regexp = new RegExp('(^|&)' + this.tabPageKey + '=[0-9]{1,2}');
|
||||
// this line is not working in IE 6
|
||||
//var regexp = new RegExp('(^|&)' + this.tabPageKey + '=[0-9]{1,2}');
|
||||
var regexp = new RegExp(this.tabPageKey + '=[0-9]{1,2}');
|
||||
var urlparams = window.location.search;
|
||||
var urlparamstart = urlparams.search(regexp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user