Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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
mikl CreditAttribution: mikl commentedPlease check the JavaScript console to see what errors are reported there.
Comment #3
dopedwizard CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: topham commentedChanged status to Needs Review
Comment #6
mikl CreditAttribution: mikl commentedhref="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 CreditAttribution: topham commentedYou can't href to an anchor tag within the overlay, it will not work.
Comment #8
mikl CreditAttribution: mikl commented#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
mikl CreditAttribution: mikl commentedMore accurate title. This misfeature of Drupal 7 is not a bug in my code.
Comment #10
mikl CreditAttribution: mikl commentedI've committed a hacky workaround for this travesty: http://drupalcode.org/project/opening_hours.git/commitdiff/0cf1d3e
Will be released in 1.2.