When creating a new level or item in the build from May18th there is no submit button in the dialog box. Just a cancel button

CommentFileSizeAuthor
createitem.jpg10.85 KB32940stf

Comments

wim leers’s picture

Title: No submit button » No "Create" button
Assigned: Unassigned » wim leers
Status: Active » Postponed (maintainer needs more info)

I have absolutely no idea how that can happen. The code for the Cancel and Create buttons are in the same if-test. I'm 100% sure that's an error on your side or a problematic module. The only thing that *could* be possible is that there's a bug in the JS, but only when executed in IE. Please try to confirm this using Firefox or Safari.

Else, please try to reproduce this on a clean Drupal installation.

32940stf’s picture

So, I have tested in FF and seems to work fine so it is my IE6 version.

wim leers’s picture

It also works just fine here in IE, so there must be something special going on.

P.S.: perhaps the removal of jQuery Interface also fixes this?

32940stf’s picture

Yep, it seems all good now that I removed the jQuery Interface.

wim leers’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Perhaps a similar kind of solution as in the other issue is possible, but it's better to not use jQuery Interface when not strictly necessary. It's bulky and buggy, so less code == less errors.

Closing this issue.

wim leers’s picture

Category: support » bug
Status: Closed (fixed) » Active

Somebody else reported the same problem over at: http://drupal.org/node/260114#comment-849117. So I'll try to find a work-around.

wim leers’s picture

The cause seems to be related to the clear: left; in the selector .hierarchical-select-wrapper .hierarchical-select .create-new-item-create. I can remove that line, but then the width of the "create item section" (actually, the .create-new-item div) can no longer be easily increased. That's more acceptable than the current situation though, so I'll go for that.

wim leers’s picture

Title: No "Create" button » No "Create" button in IE6 when jQuery Interface is used
Status: Active » Fixed

I only commented out that line and referred to this issue, to re-enable that line when we move to jQuery Enchant.

summit’s picture

Hi Wim,

I confirm that the code is working now to add new items, with jquery_update installed.
Thanks for the solution.

greetings,
Martijn

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

wim leers’s picture

Since I now rely on jQuery UI effects (http://drupal.org/node/203055), I was able to do what I mentioned in #7.