summaryrefslogtreecommitdiff
path: root/src/static/js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-01-25 02:44:10 +0000
committerJohn McLear <john@mclear.co.uk>2015-01-25 02:44:10 +0000
commitaca745ddf6a180e17c461bfb352281ee1f3acb1c (patch)
treea2430141a2d331906d3e0b4e7c05279fbae1406d /src/static/js
parent831151cfba6a53aa83e86ab5079b940f28317a34 (diff)
downloadetherpad-lite-aca745ddf6a180e17c461bfb352281ee1f3acb1c.zip
tell installer if old etherpad needs updating during plugin install
Diffstat (limited to 'src/static/js')
-rw-r--r--src/static/js/admin/plugins.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/static/js/admin/plugins.js b/src/static/js/admin/plugins.js
index 6c939dc2..d337da03 100644
--- a/src/static/js/admin/plugins.js
+++ b/src/static/js/admin/plugins.js
@@ -225,6 +225,9 @@ $(document).ready(function () {
socket.on('finished:install', function(data) {
if(data.error) {
+ 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)
$('#installed-plugins .'+data.plugin).remove()
}