implemented renaming of plan and opening of other plans

This commit is contained in:
Stephan Richter
2021-01-05 01:15:00 +01:00
parent 54a83d7280
commit 90851e2bd6
10 changed files with 154 additions and 40 deletions

View File

@@ -157,9 +157,7 @@ function moveTile(x,y){
}
function place(data){
var tag = $(data);
$('#'+tag.attr('id')).remove();
$('#scroll').append(tag);
$('#'+$(data).attr('id')).replaceWith(data);
return false;
}
@@ -227,8 +225,6 @@ function runAction(ev){
window.open("https://api.qrserver.com/v1/create-qr-code/?data="+window.location.href,'_blank');
} else if (clicked.id == 'fullscreen'){
toggleFullscreen();
} else if (clicked.id == 'save'){
alert('save');
} else return request({action:ev.target.id,realm:realm}); // TODO: ask for name
return false;
}