typo in executeMacro for permissions
This commit is contained in:
parent
782b9aa91b
commit
fc8d74e898
|
@ -66,7 +66,7 @@ $(function () {
|
|||
self.executeMacro = function (macro) {
|
||||
var paramObjRegex = /{(.*?)}/g;
|
||||
|
||||
if (!this.hasRight("MACROS")) return;
|
||||
if (!this.hasRight("MACRO")) return;
|
||||
|
||||
if (macro.macro().match(paramObjRegex) == null) {
|
||||
OctoPrint.control.sendGcode(
|
||||
|
|
Loading…
Reference in New Issue