touch (tablet): fix deselect when tapping space; add edit text button

This commit is contained in:
Lukas F. Hartmann
2020-12-18 17:07:32 +01:00
parent 16e926b76a
commit 82515e3a8e
5 changed files with 46 additions and 38 deletions

View File

@@ -1923,10 +1923,7 @@ var SpacedeckSections = {
}.bind(this));
},
delayed_edit_artifact: function(evt) {
evt.stopPropagation();
evt.preventDefault();
delayed_edit_artifact: function() {
var a = this.selected_artifacts()[0];
var el = $("#ios-focuser-"+a._id);
@@ -2087,8 +2084,6 @@ var SpacedeckSections = {
if (a.description!=dom.innerHTML) {
a.description = dom.innerHTML;
console.log("new DOM:",dom.innerHTML);
this.update_board_artifact_viewmodel(a);
this.queue_artifact_for_save(a);