mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-15 17:37:30 +01:00
space: make lock/unlock functions explicit
This commit is contained in:
@@ -2183,9 +2183,15 @@ var SpacedeckSections = {
|
||||
return copy;
|
||||
},
|
||||
|
||||
toggle_lock_of_selected_artifacts: function() {
|
||||
lock_selected_artifacts: function() {
|
||||
this.update_selected_artifacts(function(a) {
|
||||
return {locked: !a.locked};
|
||||
return {locked: true};
|
||||
}, true);
|
||||
},
|
||||
|
||||
unlock_selected_artifacts: function() {
|
||||
this.update_selected_artifacts(function(a) {
|
||||
return {locked: false};
|
||||
}, true);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user