Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-06-01 22:59:51

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

r2906 - javascript error plus

I’ve just installed r2906, completely clean. Nice additions by the way.

First of all, in Diagnostics, it shows that the files /include/txp_preview.php and /lib/constamts.php have been modified though they haven’t.

I have Firebug installed and it’s showing a javascript error:-

withsel has no properties
function cleanSelects() {
    var withsel = document.getElementById("withselected");
    if (withsel.options[withsel.selectedIndex].value != "") {
        return withsel.selectedIndex = 0;
    }
}
http://localhost/txpvanilla/textpattern/textpattern.js
Line 112

This seems to appear on most tabs though not all. Everything seems to function so it might not be important.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#2 2008-06-02 00:15:47

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

Re: r2906 - javascript error plus

Which version of Firefox are you using ?

@rev 2903, I get a different error, using Gecko 1.9 (Fx 3)

9:09 AM: [JavaScript Error: "withsel is null" {file: "http://emps.phiw.dev/textpattern/textpattern.js" line: 112}]

That error logged when I loaded the ‘images’ tab, btw

Last edited by phiw13 (2008-06-02 00:17:06)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#3 2008-06-02 09:59:46

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: r2906 - javascript error plus

I’ll look into that. It’s probably related to adding the javascript for multi-select on each tab.
Only official releases have an up-to-date ‘is the file modified’ check in diagnostics.

Offline

#4 2008-06-02 17:16:49

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: r2906 - javascript error plus

Philippe – I’m using FF 2.0.0.14 on Win XP. That looks to me like the same error but using a different format for the notice.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2008-06-02 19:07:57

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: r2906 - javascript error plus

Should be fixed in SVN changeset 2907

Offline

#6 2008-06-03 09:48:46

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

Re: r2906 - javascript error plus

ruud wrote:

Should be fixed in SVN changeset 2907

yessir. thank you


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#7 2008-06-03 21:27:20

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: r2906 - javascript error plus

Indeed. Thanks.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB