Needs work
Project:
Modal Frame API
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2011 at 06:12 UTC
Updated:
23 Nov 2016 at 12:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
broncomania commentedHm, could it be that I am the only one who tried it? I can't believe :-) but any suggestion is still welcome to find a solution for I think simple task or is it so complicated?
Comment #2
attiks commentedyou're not the only one, i just noticed the same, but no idea why and no idea on how to solve it :/
Comment #3
hefox commentedOkay this is a combination patch of the two issues, closing a modalframe and batch page.
It adds a menu entry, modalframe-batch, that can be used instead of 'batch'
Use that after setting the batch, but before the batch is processed.
It provides another menu callback, modalframe-close, that triggers the modalframe close.
It tries to autodetect that case, but otherwise
should do it.
It's ugly as fuck. I hate the patch. but it seems to work and couldn't find an elegant way to get it working. *sigh*
Comment #4
hefox commentedComment #5
dsnopekWow, integrating with batch jobs looks pretty insane. :-/
The situation might have gotten better in Drupal 7 with hook_batch_alter():
https://api.drupal.org/api/drupal/modules%21system%21system.api.php/func...
I can't commit anything to the D6 version without also committing to the D7 version, so let's try and make a (hopefully) cleaner version for D7 first.
Comment #6
Yuri commentedAnyone found a solution for this?