diff --git a/files/app/root.ut b/files/app/root.ut index 5a24a9b6..23b1ba5a 100644 --- a/files/app/root.ut +++ b/files/app/root.ut @@ -220,10 +220,15 @@ const uciMethods = } }, - "delete": function(a, b) + "delete": function(a, b, c) { this.init(); - cursor.delete(a, b); + if (c === undefined) { + cursor.delete(a, b); + } + else { + cursor.delete(a, b, c); + } }, error: function() @@ -295,10 +300,15 @@ const uciMeshMethods = } }, - "delete": function(a, b) + "delete": function(a, b, c) { this.init(); - cursorm.delete(a, b); + if (c === undefined) { + cursorm.delete(a, b); + } + else { + cursorm.delete(a, b, c); + } }, error: function()