Skip to content

Commit 999196e

Browse files
authored
ADD: commentary
Comment new logic
1 parent 0a7bdcb commit 999196e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

MDX2JSON/Utils.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ ClassMethod AddWidget(sWidget As %String, sDashboard As %String, key As %String)
573573
set tWidgets = ##class(%DeepSee.Dashboard.Widget).%New()
574574
set st = ..UpdateWidget(tWidgets, sWidget)
575575

576-
if (st = $$$OK)
576+
if (st = $$$OK) // checking for errors in UpdateWidget
577577
{
578578
$$$Insert(tDash.widgets, tWidgets)
579579
do tDash.%Save()
@@ -599,7 +599,7 @@ ClassMethod AddWidget(sWidget As %String, sDashboard As %String, key As %String)
599599
}
600600
if (changed '= "") {
601601
set st = ..UpdateWidget(changed, sWidget)
602-
if (st = $$$OK)
602+
if (st = $$$OK) // checking for errors in UpdateWidget
603603
{
604604
do tDash.%Save()
605605
}

0 commit comments

Comments
 (0)