From 7a999a4d294446fe51399a4b807cf5ff0bcef0f3 Mon Sep 17 00:00:00 2001 From: Harry Bleckert Date: Sat, 6 Jan 2024 17:08:17 +0800 Subject: [PATCH] none --- index.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 540d170..4d084ce 100644 --- a/index.js +++ b/index.js @@ -110,8 +110,10 @@ exports.socketio = (hookName, {io}, cb) => { if (padExists) { // pad exists, remove it const pad = await padManager.getPad(padId); + // Jan 24: Problem with postgresql: pads disappear in view, but not from database!!! + // see https://github.com/HarryBleckert/ep_adminpads3/issues/14#issuecomment-1879572582 + // socket.emit('delete', padId); await pad.remove(); - socket.emit('delete', padId); socket.emit('progress', {progress: 1}); } }); diff --git a/package.json b/package.json index 3e95d4e..2d0082a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ep_adminpads3", - "version": "3.0.19", + "version": "3.0.20", "description": "Etherpad plugin to search, view sorted lists and delete pads in /admin.", "keywords": [ "etherpad",