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.
Hello,
I'm trying to load a view with exposed filters (ajax enabled) inside a modal window.
The first time when I open the modal windows, the exposed filters works ok, but if I close the modal and open again the exposed filters doesn't work anymore (no errors, just doesn't filter anymore).
I'm using
function mymodule_modal_add($js = NULL) {
if ($js) {
ctools_include('modal');
ctools_include('ajax');
$output = views_embed_view('add_car');
ctools_modal_render(t('Add car'), $output);
} else {
return MENU_ACCESS_DENIED;
}
}
Can anyone tell me what I'm doing wrong? Is possible what I'm trying to do?
Thanks.
Comments
Comment #1
juanramonperez CreditAttribution: juanramonperez commentedWhen I try to filter the second time I get the following error in Chrome console
Comment #2
juanramonperez CreditAttribution: juanramonperez commentedI have opened http://drupal.org/node/1809958
Comment #3
nithinkolekar CreditAttribution: nithinkolekar commentedwon't fix would be misleading, as there is a active issue with a patch to review.