Revision 6c55c1d0
Added by Andreas Kohlbecker over 2 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
94 | 94 |
|
95 | 95 |
$callback = "jQuery('" . $link_element_selector . "').cdm_ws_progress('" . $progress_element_selector . "');"; |
96 | 96 |
|
97 |
drupal_add_js_async(variable_get('cdm_webservice_url', '').'js/cdm_ws_progress.js', $callback);
|
|
97 |
drupal_add_js_async(cdm_webservice_url(). 'js/cdm_ws_progress.js', $callback);
|
|
98 | 98 |
|
99 | 99 |
// drupal_add_js(" |
100 | 100 |
// if (Drupal.jsEnabled) { |
... | ... | |
293 | 293 |
// activeClass: "fa-rotate-90", |
294 | 294 |
classificationUuid: "' . get_current_classification_uuid() . '", |
295 | 295 |
taxonUuid: "' . get_current_taxon_uuid() . '", |
296 |
cdmWebappBaseUri: "' . variable_get('cdm_webservice_url', '') . '",
|
|
296 |
cdmWebappBaseUri: "' . cdm_webservice_url() . '",
|
|
297 | 297 |
proxyBaseUri: "' . $base_url . '", |
298 | 298 |
|
299 | 299 |
}); |
Also available in: Unified diff
ref #9776 enfocing https for webservice requests and notifying user about misconfiguration