Modal with inline edit

edited April 2013 in Bug Reports
If you have an inline edit button in an admin edit page, click it and get the modal inline edit window for another model record, and that too has an inline edit button, attempting to click that will kill both modal windows.

Would it be possible to prevent "nested" inline_edits?

Comments

  • edited 7:16PM
    There currently isn't a way to prevent nested inline edits. However, I am having trouble replicating that here. It should give you another window, slightly smaller, but nested on top of it (it could be done with Javascript though by testing if the current frame is the top most window or not). Do you have a screenshot?
  • edited 7:16PM
    Here's a screenshot of the issue - looking at the source code, the nested "window" is actually a 404 page.

    https://dl.dropboxusercontent.com/u/9540005/nested_modal.png

    This is with Firefox 20.0.1 on Windows 7

    So what has happened is hit "edit" next to publication field, publication modal opens OK, it has a similar foreign key to another table, hit edit on that - 404 - but collapsed.
  • edited 7:16PM
    Does the inline edit work correctly for the publications module if you access it directly? If not, what does your console say in terms of the URL it is trying to access?
  • edited 7:16PM
    Whether a git update has solved it, or aggressive caching caused it, the problem seems to have gone away!
Sign In or Register to comment.