Mercurial > defr > drupal > popups
comparison patches/3-allow-drupal-alter.diff @ 2:c076d54409cb
Popus: Version RF
author | Franck Deroche <franck@defr.org> |
---|---|
date | Fri, 31 Dec 2010 13:46:12 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:76f9b43738f2 | 2:c076d54409cb |
---|---|
1 Index: popups.module | |
2 =================================================================== | |
3 --- popups.module (révision 1196) | |
4 +++ popups.module (copie de travail) | |
5 @@ -153,6 +153,8 @@ | |
6 | |
7 $popup_js = array(); | |
8 | |
9 + // Allow modules to specifically alter the JS used in a popup. | |
10 + drupal_alter('popups_js', $js); | |
11 if (module_exists('jquery_update')) { | |
12 $replacements = jquery_update_get_replacements(); | |
13 $path = drupal_get_path('module', 'jquery_update') .'/replace/'; |