When clicking any of the navigation links (next week, previous week), the module stalls on "Loading Administration Interface"
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | opening_hours-fix loading message on overlay-1651164-4.patch | 906 bytes | topham |
When clicking any of the navigation links (next week, previous week), the module stalls on "Loading Administration Interface"
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | opening_hours-fix loading message on overlay-1651164-4.patch | 906 bytes | topham |
Comments
Comment #1
dopedwizard commentedFor me it also stalls with the current dev version after installation when clicking on the opening hours tab when editing a node.
Comment #2
miklPlease check the JavaScript console to see what errors are reported there.
Comment #3
dopedwizard commentedI got it to work by activating clean urls on my server. This was not intentional but it did fix it, now it opens the tab.
Comment #4
topham commentedI get this message when I try using Opening Hours with the Administrator Overlay.
The fix is pretty simple: I replaced the references to #next, #prev, #current in the template file opening_hours_admin.tpl.php
(Note: This particular edit hasn't been tested, it's a minor change and I can't get to it at work for a while.)
Comment #5
topham commentedChanged status to Needs Review
Comment #6
miklhref="javascript:return true;"is not really the way to go. If the click event handler fails, we need to figure out why.Comment #7
topham commentedYou can't href to an anchor tag within the overlay, it will not work.
Comment #8
mikl#7: Oooh, the dreaded overlay.module. This won't work at all inside that. I'll try to see some what of opting out of it.
Comment #9
miklMore accurate title. This misfeature of Drupal 7 is not a bug in my code.
Comment #10
miklI've committed a hacky workaround for this travesty: http://drupalcode.org/project/opening_hours.git/commitdiff/0cf1d3e
Will be released in 1.2.