Skip to content

Commit 272057a

Browse files
committed
Minor fix for CanModify. Removed TABs
1 parent 73289f8 commit 272057a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Form/JSON/OBJ.cls.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@ On JSON -> Obj parsing, check what forms can be modified by user ]]></Descripti
3232
<FormalSpec>pObject:Form.Adaptor,pLevel:%Integer</FormalSpec>
3333
<Implementation><![CDATA[
3434
set %code.CodeMode = "expression"
35-
#include %occCPTJSgen
3635
set code = ##class(Form.Settings).getSetting("canModify")
3736
if code'="" {
38-
do %code.WriteLine($$$TAB _ code)
37+
do %code.WriteLine(code)
3938
} else {
40-
do %code.WriteLine($$$TAB _ "pLevel=1")
39+
do %code.WriteLine("pLevel=1")
4140
}
4241
]]></Implementation>
4342
</Method>

0 commit comments

Comments
 (0)