summaryrefslogtreecommitdiff
path: root/modules/overlay/overlay.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-02-19 00:09:11 +0000
committerDries Buytaert <dries@buytaert.net>2011-02-19 00:09:11 +0000
commitfa39282ef779a331ba2e3096f791c5a663994e16 (patch)
treecbbff5ddd220781bd7398e0531750a2e7404ee95 /modules/overlay/overlay.module
parent7205ff14cac0472acb9247297d13477ab9cc5a97 (diff)
downloadbrdo-fa39282ef779a331ba2e3096f791c5a663994e16.tar.gz
brdo-fa39282ef779a331ba2e3096f791c5a663994e16.tar.bz2
- Patch #1056108 by 1V: consistent use of 'JavaScript' and 'Ajax'.
Diffstat (limited to 'modules/overlay/overlay.module')
-rw-r--r--modules/overlay/overlay.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/overlay/overlay.module b/modules/overlay/overlay.module
index 7cf44b95c..279165006 100644
--- a/modules/overlay/overlay.module
+++ b/modules/overlay/overlay.module
@@ -626,7 +626,7 @@ function overlay_overlay_parent_initialize() {
$type = str_replace('<front>', variable_get('site_frontpage', 'node'), $type);
}
drupal_add_js(array('overlay' => array('paths' => $paths)), 'setting');
- // Pass along the AJAX callback for rerendering sections of the parent window.
+ // Pass along the Ajax callback for rerendering sections of the parent window.
drupal_add_js(array('overlay' => array('ajaxCallback' => 'overlay-ajax')), 'setting');
}
@@ -643,7 +643,7 @@ function overlay_overlay_child_initialize() {
// the initial rendered content of those regions here, so that we can compare
// it to the same content rendered in overlay_exit(), at the end of the page
// request. This allows us to check if anything actually did change, and, if
- // so, trigger an immediate AJAX refresh of the parent window.
+ // so, trigger an immediate Ajax refresh of the parent window.
if (!empty($_POST) || isset($_GET['token'])) {
foreach (overlay_supplemental_regions() as $region) {
overlay_store_rendered_content($region, overlay_render_region($region));
@@ -945,7 +945,7 @@ function overlay_trigger_refresh() {
/**
* Prints the markup obtained by rendering a single region of the page.
*
- * This function is intended to be called via AJAX.
+ * This function is intended to be called via Ajax.
*
* @param $region
* The name of the page region to render.