# HG changeset patch # User Franck Deroche # Date 1238513458 -7200 # Node ID e060ad73e35889858abe760c6a570d6d32f7aa78 # Parent a931d30cbfbc66af22095d4722e028f36e9c5d22 Utilisation de l'api complète popup diff -r a931d30cbfbc -r e060ad73e358 noderef_view.module --- a/noderef_view.module Fri Feb 27 18:29:06 2009 +0100 +++ b/noderef_view.module Tue Mar 31 17:30:58 2009 +0200 @@ -148,9 +148,12 @@ } // If we found a view with a suitable display, then link to it if (!empty($path)) { - popups_add_popups(); + popups_add_popups(array('.noderef_view_link' => array( + 'noUpdate' => FALSE, + 'noMessage' => FALSE + ))); $options = array( - 'attributes' => array('class' => 'popups-form-noupdate noderef_view_link'), + 'attributes' => array('class' => 'noderef_view_link'), 'query' => array('destination' => 'node') ); $path = l(t('Search'), $path, $options);