Fieldtype

Developer
Supported

EE 1
EE 2
The Selectatron

Back to this add-on's main page
View Other Add-ons From iain

     

You must be logged in to post.

JavaScript error when more than 1 selectatron used on the publish page

Bug Report

Russ Back
Russ Back

Hi Iain

I’ve just come across a problem when there are two fields on the same page. The first field works fine but the second remains as a multi-select field an in the console, there is an error (see screenshot).

Any ideas?

Image Attachments
Screen shot 2011-03-14 at 09.10.43.png
iain
# 1
Developer
iain

Hiya,

I’m not officially supporting this addon, so don’t get notifications.

If you’d like some help, I’ll need to know more about your setup because I don’t see the issue here on a vanilla install of 2.1.4 with two Selectatron fields.

Are you using Blueprints? let me know what other field-types/extensions/accessories you have.

Russ Back
# 2
Russ Back

Hi Iain

Core:
EE 2.1.0 Commercial

Modules:
Deploy Helper 2.0.2
Solspace Freeform 3.0.2
Structure 2.2.6

Extensions:
NSM .htaccess Generator
Structure

Accessories:
Expression Engine Info 1.0
NSM Add-on Updater 1.0.1
NSM Morphine theme 1.0.0
Structure 2.2.6

Fieldtypes:
Checkboxes 1.0
Date 1.0
File 1.0
Multi Select 1.0
NSM Morphine Theme 1.0.0
Radio Buttons 1.0
Relationship 1.0
Select Dropdown 1.0
StructureFrame 2.2.6
Text Input 1.0
Textarea 1.0
The Selectatron 1.2.1

Having done this list I’ve only just realised that this site isn’t running on EE 2.1.3 so maybe that’s it. I’ll update and see what happens.

iain
# 3
Developer
iain

Is the structure module still requiring an older version of jQuery core?

iain
# 4
Developer
iain

The delegate function requires jquery 1.4.2, fyi.

Russ Back
# 5
Russ Back

Thanks for the advice. Structure have just released 3.0.0 with support for jQuery 1.4.2 and after installing that update, this problem has gone away.