diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-02-19 00:09:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-02-19 00:09:11 +0000 |
commit | fa39282ef779a331ba2e3096f791c5a663994e16 (patch) | |
tree | cbbff5ddd220781bd7398e0531750a2e7404ee95 /modules/overlay | |
parent | 7205ff14cac0472acb9247297d13477ab9cc5a97 (diff) | |
download | brdo-fa39282ef779a331ba2e3096f791c5a663994e16.tar.gz brdo-fa39282ef779a331ba2e3096f791c5a663994e16.tar.bz2 |
- Patch #1056108 by 1V: consistent use of 'JavaScript' and 'Ajax'.
Diffstat (limited to 'modules/overlay')
-rw-r--r-- | modules/overlay/overlay-parent.js | 2 | ||||
-rw-r--r-- | modules/overlay/overlay.module | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/overlay/overlay-parent.js b/modules/overlay/overlay-parent.js index d176234cf..5b17cf75e 100644 --- a/modules/overlay/overlay-parent.js +++ b/modules/overlay/overlay-parent.js @@ -678,7 +678,7 @@ Drupal.overlay.eventhandlerDispatchEvent = function (event) { * Make a regular admin link into a URL that will trigger the overlay to open. * * @param link - * A Javascript Link object (i.e. an <a> element). + * A JavaScript Link object (i.e. an <a> element). * @param parentLocation * (optional) URL to override the parent window's location with. * 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. |