summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/ahah.js2
-rw-r--r--misc/autocomplete.js4
-rw-r--r--misc/batch.js2
-rw-r--r--misc/progress.js2
-rw-r--r--misc/teaser.js2
5 files changed, 6 insertions, 6 deletions
diff --git a/misc/ahah.js b/misc/ahah.js
index 8ea5a5d3c..92de2df8c 100644
--- a/misc/ahah.js
+++ b/misc/ahah.js
@@ -13,7 +13,7 @@
*/
/**
- * Attaches the ahah behaviour to each ahah form element.
+ * Attaches the ahah behavior to each ahah form element.
*/
Drupal.behaviors.ahah = function(context) {
for (var base in Drupal.settings.ahah) {
diff --git a/misc/autocomplete.js b/misc/autocomplete.js
index c49a20ecd..aa2deb019 100644
--- a/misc/autocomplete.js
+++ b/misc/autocomplete.js
@@ -1,7 +1,7 @@
// $Id$
/**
- * Attaches the autocomplete behaviour to all required fields
+ * Attaches the autocomplete behavior to all required fields
*/
Drupal.behaviors.autocomplete = function (context) {
var acdb = [];
@@ -282,7 +282,7 @@ Drupal.ACDB.prototype.search = function (searchString) {
}
},
error: function (xmlhttp) {
- alert(Drupal.t("An HTTP error @status occured. \n@uri", { '@status': xmlhttp.status, '@uri': db.uri }));
+ alert(Drupal.t("An HTTP error @status occurred. \n@uri", { '@status': xmlhttp.status, '@uri': db.uri }));
}
});
}, this.delay);
diff --git a/misc/batch.js b/misc/batch.js
index 51b1e8b59..5a5587ad8 100644
--- a/misc/batch.js
+++ b/misc/batch.js
@@ -1,7 +1,7 @@
// $Id$
/**
- * Attaches the batch behaviour to progress bars.
+ * Attaches the batch behavior to progress bars.
*/
Drupal.behaviors.batch = function (context) {
// This behavior attaches by ID, so is only valid once on a page.
diff --git a/misc/progress.js b/misc/progress.js
index 9f34d251f..70fa3fad4 100644
--- a/misc/progress.js
+++ b/misc/progress.js
@@ -85,7 +85,7 @@ Drupal.progressBar.prototype.sendPing = function () {
pb.timer = setTimeout(function() { pb.sendPing(); }, pb.delay);
},
error: function (xmlhttp) {
- pb.displayError(Drupal.t("An HTTP error @status occured. \n@uri", { '@status': xmlhttp.status, '@uri': pb.uri }));
+ pb.displayError(Drupal.t("An HTTP error @status occurred. \n@uri", { '@status': xmlhttp.status, '@uri': pb.uri }));
}
});
}
diff --git a/misc/teaser.js b/misc/teaser.js
index 0aa512901..973734e81 100644
--- a/misc/teaser.js
+++ b/misc/teaser.js
@@ -1,7 +1,7 @@
// $Id$
/**
- * Auto-attach for teaser behaviour.
+ * Auto-attach for teaser behavior.
*
* Note: depends on resizable textareas.
*/