phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/js/tabs tabs.js


From: Sigurd Nes
Subject: [Phpgroupware-cvs] phpgwapi/js/tabs tabs.js
Date: Sat, 24 Mar 2007 17:58:07 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Sigurd Nes <sigurdne>   07/03/24 17:58:07

Modified files:
        js/tabs        : tabs.js 

Log message:
        not needed - use display(<tabnr>) instead

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/js/tabs/tabs.js?cvsroot=phpgwapi&r1=1.4&r2=1.5

Patches:
Index: tabs.js
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/js/tabs/tabs.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- tabs.js     23 Mar 2007 16:01:06 -0000      1.4
+++ tabs.js     24 Mar 2007 17:58:07 -0000      1.5
@@ -43,9 +43,8 @@
  * @argument tabPageKey URL parameter name to use for setting/getting the 
actual tab
  * @argument callBack a callback function when the tab is changed - function 
must take 1 arg, the id of the new tab
  */
-function 
Tabs(nrTabs,activeCSSclass,inactiveCSSclass,HTMLtabID,HTMLtabcontentID,HTMLtabselectorID,HTMLtabradioID,tabPageKey,
 callBack,tabnr)
+function 
Tabs(nrTabs,activeCSSclass,inactiveCSSclass,HTMLtabID,HTMLtabcontentID,HTMLtabselectorID,HTMLtabradioID,tabPageKey,
 callBack)
 {
-       this.tabnr              = tabnr;
        this.nrTabs             = nrTabs;
        this.activeCSSclass     = activeCSSclass;
        this.inactiveCSSclass   = inactiveCSSclass;
@@ -79,11 +78,6 @@
        */
        function setActive(tabnr)
        {
-               if(this.tabnr > 0)
-               {
-                       tabnr = this.tabnr;
-                       this.tabnr = false;
-               }
                if ((tabnr > 0) && (tabnr <= self.nrTabs))
                {
                        self._replaceClass( self.HTMLtabID + tabnr, 
self.inactiveCSSclass, self.activeCSSclass);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]