Loading...
 
Skip to main content

Tabs in the Admin interface don't work in Chrome

Status
Open
Subject
Tabs in the Admin interface don't work in Chrome
Version
8.x
Feature
Administration
Resolution status
New
Submitted by
jrstarke
Lastmod by
jrstarke
Rating
(0)
Description

The tabs in the administrative interface use an onclick to run some AJAX code to change the interface. The problem is that they don't work in Chrome 17. They seem to work fine in Chrome 16.

More strangely, the method signatures of the tikitabs function actually appears quite different between the two browsers.

On Chrome 17 it is


function tikitabs(focus,max,ini) {
var didit = false, didone = false;
if (!ini) {
ini = 1;
}...

function tikitabs( focus, tabElement) {

The problem appears to be that the ini variable is not set, so it we set the ini to 1, then it skips down all the way to if (didone && ...) which gets bypassed, and we exit right away.

Why do you have different code for different versions of the same browser?


Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4063
Created
Friday 02 December, 2011 00:54:20 UTC
by jrstarke
LastModif
Friday 02 December, 2011 00:54:20 UTC


Show PHP error messages