mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00
tell installer if old etherpad needs updating during plugin install
This commit is contained in:
parent
831151cfba
commit
aca745ddf6
2 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue