remote control: rename /EDIT_SOFT to /EDIT/MERGE

This commit is contained in:
jean-emmanuel 2017-12-21 06:41:30 +01:00
parent 7a81aa8e24
commit 73b2d6b2c0
3 changed files with 7 additions and 2 deletions

View file

@ -21,7 +21,7 @@ var callbacks = {
updateDom(container,data,true)
}
},
'/EDIT_SOFT': function(args) {
'/EDIT/MERGE': function(args) {
if (READ_ONLY) return
@ -83,6 +83,9 @@ var callbacks = {
}
}
// backward-compatibility
callbacks['/EDIT_SOFT'] = callbacks['/EDIT/MERGE']
module.exports = {
exec: function(name, args){
if (callbacks[name]) {