changeset 14:e060ad73e358

Utilisation de l'api complète popup
author Franck Deroche <franck@defr.org>
date Tue, 31 Mar 2009 17:30:58 +0200
parents a931d30cbfbc
children bf2615aab48c
files noderef_view.module
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);