Closed (fixed)
Project:
Boxes
Version:
7.x-1.0-beta6
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Jan 2012 at 00:59 UTC
Updated:
10 Feb 2012 at 05:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
tirdadc commentedThis only seems to happen when you're editing the box from /admin/structure/block/manage/boxes/box-[ID]/configure, not directly inline.
Comment #2
tirdadc commentedComment #3
tirdadc commentedAfter trying out older versions, it seems this problem has been around since the Cancel button was introduced. I've got a quick patch that alters the behavior on the back-end side when creating/editing boxes, while leaving the AJAX / inline version intact. Can you please test it out against a 7.x dev checkout? Seems to be working fine but confirmation is welcome.
Comment #4
nielsonm commentedThe error no longer shows up, which is a big win. I kind of expected the cancel button to close the overlay. On my setup, it redirects to /admin/structure/block. Thanks!
Comment #5
tirdadc commentedThis variant calls overlay_close_dialog() with no arguments if the overlay module is enabled, but it ultimately behaves the same way even with that (it just goes back to /admin/structure/block). Most edit forms actually no longer have an explicit 'Cancel' button other than the 'X' to the top-right side with the overlay. This seems like the standard behavior so I'm going ahead with rolling this in.
Thanks for testing it out!
Comment #6
tirdadc commented