summaryrefslogtreecommitdiff
path: root/src/static/js
diff options
context:
space:
mode:
authorPaul Carver <pcarver@att.com>2016-11-11 12:46:40 -0500
committerPaul Carver <pcarver@att.com>2016-11-11 12:46:40 -0500
commit573b55af8b04a5d08eb013e5152c7fae1e33de96 (patch)
tree9c235bf501c42d8f00a589ee88e087abc5bf60a5 /src/static/js
parent223127bf39d2ba431d9c1965a7f2aadadc73d77a (diff)
downloadetherpad-lite-573b55af8b04a5d08eb013e5152c7fae1e33de96.zip
Correct the spelling of occured to occurred
The correct spelling is occurred. See http://www.gingersoftware.com/english-online/spelling-book/misspelling/occurred-occured-ocurred or other dictionary search results.
Diffstat (limited to 'src/static/js')
-rw-r--r--src/static/js/admin/plugins.js4
-rw-r--r--src/static/js/pad_utils.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/static/js/admin/plugins.js b/src/static/js/admin/plugins.js
index 48d1ab70..3f88d9b1 100644
--- a/src/static/js/admin/plugins.js
+++ b/src/static/js/admin/plugins.js
@@ -228,7 +228,7 @@ $(document).ready(function () {
if(data.code === "EPEERINVALID"){
alert("This plugin requires that you update Etherpad so it can operate in it's true glory");
}
- alert('An error occured while installing '+data.plugin+' \n'+data.error)
+ alert('An error occurred while installing '+data.plugin+' \n'+data.error)
$('#installed-plugins .'+data.plugin).remove()
}
@@ -241,7 +241,7 @@ $(document).ready(function () {
})
socket.on('finished:uninstall', function(data) {
- if(data.error) alert('An error occured while uninstalling the '+data.plugin+' \n'+data.error)
+ if(data.error) alert('An error occurred while uninstalling the '+data.plugin+' \n'+data.error)
// remove plugin from installed list
$('#installed-plugins .'+data.plugin).remove()
diff --git a/src/static/js/pad_utils.js b/src/static/js/pad_utils.js
index 5a7700c9..7166e0fb 100644
--- a/src/static/js/pad_utils.js
+++ b/src/static/js/pad_utils.js
@@ -520,7 +520,7 @@ function setupGlobalExceptionHandler() {
//show javascript errors to the user
$("#editorloadingbox").css("padding", "10px");
$("#editorloadingbox").css("padding-top", "45px");
- $("#editorloadingbox").html("<div style='text-align:left;color:red;font-size:16px;'><b>An error occured</b><br>The error was reported with the following id: '" + errorId + "'<br><br><span style='color:black;font-weight:bold;font-size:16px'>Please press and hold Ctrl and press F5 to reload this page, if the problem persists please send this error message to your webmaster: </span><div style='color:black;font-size:14px'>'"
+ $("#editorloadingbox").html("<div style='text-align:left;color:red;font-size:16px;'><b>An error occurred</b><br>The error was reported with the following id: '" + errorId + "'<br><br><span style='color:black;font-weight:bold;font-size:16px'>Please press and hold Ctrl and press F5 to reload this page, if the problem persists please send this error message to your webmaster: </span><div style='color:black;font-size:14px'>'"
+ "ErrorId: " + errorId + "<br>URL: " + window.location.href + "<br>UserAgent: " + userAgent + "<br>" + msg + " in " + url + " at line " + linenumber + "'</div></div>");
}