Mercurial > defr > drupal > noderef_view
comparison noderef_view.module @ 12:97954bccf93f
On passe -form-noupdate à popups
author | Franck Deroche <franck@defr.org> |
---|---|
date | Fri, 27 Feb 2009 18:28:56 +0100 |
parents | e7a597640419 |
children | a931d30cbfbc |
comparison
equal
deleted
inserted
replaced
11:e7a597640419 | 12:97954bccf93f |
---|---|
145 } | 145 } |
146 // If we found a view with a suitable display, then link to it | 146 // If we found a view with a suitable display, then link to it |
147 if (!empty($path)) { | 147 if (!empty($path)) { |
148 popups_add_popups(); | 148 popups_add_popups(); |
149 $options = array( | 149 $options = array( |
150 'attributes' => array('class' => 'popups noderef_view_link'), | 150 'attributes' => array('class' => 'popups-form-noupdate noderef_view_link'), |
151 'query' => array('destination' => 'node') | 151 'query' => array('destination' => 'node') |
152 ); | 152 ); |
153 $path = l(t('Search'), $path, $options); | 153 $path = l(t('Search'), $path, $options); |
154 } | 154 } |
155 return $path; | 155 return $path; |