From 573b55af8b04a5d08eb013e5152c7fae1e33de96 Mon Sep 17 00:00:00 2001 From: Paul Carver Date: Fri, 11 Nov 2016 12:46:40 -0500 Subject: 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. --- src/static/js/admin/plugins.js | 4 ++-- src/static/js/pad_utils.js | 2 +- src/templates/pad.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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("
An error occured
The error was reported with the following id: '" + errorId + "'

Please press and hold Ctrl and press F5 to reload this page, if the problem persists please send this error message to your webmaster:
'" + $("#editorloadingbox").html("
An error occurred
The error was reported with the following id: '" + errorId + "'

Please press and hold Ctrl and press F5 to reload this page, if the problem persists please send this error message to your webmaster:
'" + "ErrorId: " + errorId + "
URL: " + window.location.href + "
UserAgent: " + userAgent + "
" + msg + " in " + url + " at line " + linenumber + "'
"); } diff --git a/src/templates/pad.html b/src/templates/pad.html index 271bbb2d..3d89f9d0 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -358,7 +358,7 @@ var originalHandler = window.onerror; window.onerror = function(msg, url, line) { var box = document.getElementById('editorloadingbox'); - box.innerHTML = '

An error occured while loading the pad

' + box.innerHTML = '

An error occurred while loading the pad

' + '

'+msg+' ' + 'in '+ url +' (line '+ line +')

'; // call original error handler -- cgit v1.2.3