remote control: rename /EDIT_SOFT to /EDIT/MERGE
This commit is contained in:
parent
c904b941ba
commit
185d4c6b80
3 changed files with 7 additions and 2 deletions
|
|
@ -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]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue