function getlocations_gps_js_do in Get Locations 7
Same name and namespace in other branches
- 7.2 modules/getlocations_gps/getlocations_gps.module \getlocations_gps_js_do()
Add js and css to page.
1 call to getlocations_gps_js_do()
- getlocations_gps_js_settings_do in modules/
getlocations_gps/ getlocations_gps.module
File
- modules/
getlocations_gps/ getlocations_gps.module, line 241 - getlocations_gps.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_gps_js_do() {
static $getlocations_gps_js_done = FALSE;
if (!$getlocations_gps_js_done) {
$getlocations_gps_paths = getlocations_gps_paths_get();
drupal_add_js($getlocations_gps_paths['getlocations_gps_path'], array(
'weight' => 50,
));
drupal_add_css(GETLOCATIONS_GPS_PATH . '/getlocations_gps.css');
}
$getlocations_gps_js_done = TRUE;
}