It's baaaaaaack... :\

LIES!

There have been quite a few improvements to Overlay module lately (yay!) so I'm not sure when exactly this was re-introduced. (boo!)

My left lung for the ability to write tests for JS interaction like this so we don't continue to break this repeatedly... :\

CommentFileSizeAuthor
#4 no-shortcut-1.patch579 bytesalpritt
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

casey’s picture

Uh oh, I think it isn't javascript what is causing this. Try adding another shortcut... Both shortcuts will appear.

Or try with overlay disabled... Not working either.

Wild guess: I think this has something to do with drupal_render cache

casey’s picture

Isn't drupal_render cache per theme?

casey’s picture

Component: overlay.module » shortcut.module
alpritt’s picture

Status: Active » Needs work
FileSize
579 bytes

It gets confused with menu depth. Needs test, and probably a comment too.

alpritt’s picture

Title: Shortcut bar not refreshing when adding shortcut in overlay » Shortcut bar cannot deal with deep menu items
jascott’s picture

This fixed the problem for me. It looks like one line.

$link['plid'] = 0;

Does it need a comment?

webchick’s picture

Status: Needs work » Fixed

OMG! Great find!

I decided to create a sub-issue for tests over here: #680850: Tests for Shortcut module, just in the interest of whipping through some of these critical issues in Shortcut module before Alpha.

I have no idea how in the heck you figured that out, but I agree that a comment is probably unnecessary once we have test coverage.

Therefore, marking this fixed. THANKS!!

Status: Fixed » Closed (fixed)
Issue tags: -webchick's D7 alpha hit list

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