From fa39282ef779a331ba2e3096f791c5a663994e16 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 19 Feb 2011 00:09:11 +0000 Subject: - Patch #1056108 by 1V: consistent use of 'JavaScript' and 'Ajax'. --- modules/field_ui/field_ui.admin.inc | 6 +++--- modules/field_ui/field_ui.js | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/field_ui') diff --git a/modules/field_ui/field_ui.admin.inc b/modules/field_ui/field_ui.admin.inc index 843cfe50a..b28014400 100644 --- a/modules/field_ui/field_ui.admin.inc +++ b/modules/field_ui/field_ui.admin.inc @@ -875,7 +875,7 @@ function field_ui_display_overview_form($form, &$form_state, $entity_type, $bund 'class' => array('field-ui-overview'), 'id' => 'field-display-overview', ), - // Add AJAX wrapper. + // Add Ajax wrapper. '#prefix' => '
', '#suffix' => '
', ); @@ -1157,7 +1157,7 @@ function field_ui_display_overview_form($form, &$form_state, $entity_type, $bund 'callback' => 'field_ui_display_overview_multistep_js', 'wrapper' => 'field-display-overview-wrapper', 'effect' => 'fade', - // The button stays hidden, so we hide the AJAX spinner too. Ad-hoc + // The button stays hidden, so we hide the Ajax spinner too. Ad-hoc // spinners will be added manually by the client-side script. 'progress' => 'none', ), @@ -1218,7 +1218,7 @@ function field_ui_display_overview_multistep_submit($form, &$form_state) { } /** - * AJAX handler for multistep buttons on the 'Manage display' screen. + * Ajax handler for multistep buttons on the 'Manage display' screen. */ function field_ui_display_overview_multistep_js($form, &$form_state) { $trigger = $form_state['triggering_element']; diff --git a/modules/field_ui/field_ui.js b/modules/field_ui/field_ui.js index cd27bffd8..4d3d0cc61 100644 --- a/modules/field_ui/field_ui.js +++ b/modules/field_ui/field_ui.js @@ -167,7 +167,7 @@ Drupal.fieldUIOverview = { refreshRows = rowHandler.regionChange(region); // Update the row region. rowHandler.region = region; - // AJAX-update the rows. + // Ajax-update the rows. Drupal.fieldUIOverview.AJAXRefreshRows(refreshRows); } } @@ -206,7 +206,7 @@ Drupal.fieldUIOverview = { }, /** - * Triggers AJAX refresh of selected rows. + * Triggers Ajax refresh of selected rows. * * The 'format type' selects can trigger a series of changes in child rows. * The #ajax behavior is therefore not attached directly to the selects, but @@ -215,7 +215,7 @@ Drupal.fieldUIOverview = { * @param rows * A hash object, whose keys are the names of the rows to refresh (they * will receive the 'ajax-new-content' effect on the server side), and - * whose values are the DOM element in the row that should get an AJAX + * whose values are the DOM element in the row that should get an Ajax * throbber. */ AJAXRefreshRows: function (rows) { @@ -234,7 +234,7 @@ Drupal.fieldUIOverview = { .addClass('progress-disabled') .after($throbber); - // Fire the AJAX update. + // Fire the Ajax update. $('input[name=refresh_rows]').val(rowNames.join(' ')); $('input#edit-refresh').mousedown(); @@ -295,7 +295,7 @@ Drupal.fieldUIDisplayOverview.field.prototype = { * @param region * The name of the new region for the row. * @return - * A hash object indicating which rows should be AJAX-updated as a result + * A hash object indicating which rows should be Ajax-updated as a result * of the change, in the format expected by * Drupal.displayOverview.AJAXRefreshRows(). */ -- cgit v1.2.3