Ability to delete a stronger pad from readonly mode

This commit is contained in:
yflory
2017-10-12 11:41:53 +02:00
parent b28c1537e8
commit 95ad25973e
3 changed files with 8 additions and 5 deletions

View File

@@ -1204,8 +1204,8 @@ define([
};
// Forget button
var moveToTrash = common.moveToTrash = function (cb) {
var href = window.location.href;
var moveToTrash = common.moveToTrash = function (cb, href) {
href = href || window.location.href;
common.forgetPad(href, function (err) {
if (err) {
console.log("unable to forget pad");