Commit 7fada6df by Cam Hayes

Merge remote-tracking branch 'origin/mac3' into cam3

parents 7bc3ab82 ad6c43d1
...@@ -10,7 +10,7 @@ uses ...@@ -10,7 +10,7 @@ uses
Data.DB, XData.Web.JsonDataset, XData.Web.Dataset, WEBLib.DB, VCL.TMSFNCTypes, VCL.TMSFNCUtils, Data.DB, XData.Web.JsonDataset, XData.Web.Dataset, WEBLib.DB, VCL.TMSFNCTypes, VCL.TMSFNCUtils,
VCL.TMSFNCGraphics, VCL.TMSFNCGraphicsTypes, VCL.TMSFNCGridCell, VCL.TMSFNCGraphics, VCL.TMSFNCGraphicsTypes, VCL.TMSFNCGridCell,
VCL.TMSFNCGridOptions, VCL.TMSFNCCustomControl, VCL.TMSFNCCustomScrollControl, VCL.TMSFNCGridOptions, VCL.TMSFNCCustomControl, VCL.TMSFNCCustomScrollControl,
VCL.TMSFNCGridData, VCL.TMSFNCCustomGrid, VCL.TMSFNCGrid; VCL.TMSFNCGridData, VCL.TMSFNCCustomGrid, VCL.TMSFNCGrid, Utils;
type type
TfViewAddItem = class(TWebForm) TfViewAddItem = class(TWebForm)
...@@ -138,6 +138,7 @@ begin ...@@ -138,6 +138,7 @@ begin
finally finally
TMSFNCGrid1.EndUpdate; TMSFNCGrid1.EndUpdate;
end; end;
Utils.HideSpinner('spinner');
end; end;
procedure TfViewAddItem.TMSFNCGrid1CellClick(Sender: TObject; ACol, procedure TfViewAddItem.TMSFNCGrid1CellClick(Sender: TObject; ACol,
......
...@@ -50,6 +50,7 @@ object FViewItems: TFViewItems ...@@ -50,6 +50,7 @@ object FViewItems: TFViewItems
ChildOrder = 7 ChildOrder = 7
ElementID = 'btnadd' ElementID = 'btnadd'
ElementFont = efCSS ElementFont = efCSS
Enabled = False
HeightStyle = ssAuto HeightStyle = ssAuto
HeightPercent = 100.000000000000000000 HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000 WidthPercent = 100.000000000000000000
...@@ -151,6 +152,7 @@ object FViewItems: TFViewItems ...@@ -151,6 +152,7 @@ object FViewItems: TFViewItems
ElementID = 'btnconfirm' ElementID = 'btnconfirm'
ElementFont = efCSS ElementFont = efCSS
ElementPosition = epRelative ElementPosition = epRelative
Enabled = False
HeightStyle = ssAuto HeightStyle = ssAuto
HeightPercent = 100.000000000000000000 HeightPercent = 100.000000000000000000
Role = 'null' Role = 'null'
...@@ -167,6 +169,7 @@ object FViewItems: TFViewItems ...@@ -167,6 +169,7 @@ object FViewItems: TFViewItems
ElementID = 'btncancel' ElementID = 'btncancel'
ElementFont = efCSS ElementFont = efCSS
ElementPosition = epRelative ElementPosition = epRelative
Enabled = False
HeightStyle = ssAuto HeightStyle = ssAuto
HeightPercent = 100.000000000000000000 HeightPercent = 100.000000000000000000
Role = 'null' Role = 'null'
...@@ -182,6 +185,7 @@ object FViewItems: TFViewItems ...@@ -182,6 +185,7 @@ object FViewItems: TFViewItems
ChildOrder = 79 ChildOrder = 79
ElementID = 'btndelete' ElementID = 'btndelete'
ElementFont = efCSS ElementFont = efCSS
Enabled = False
HeightStyle = ssAuto HeightStyle = ssAuto
HeightPercent = 100.000000000000000000 HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000 WidthPercent = 100.000000000000000000
...@@ -196,6 +200,7 @@ object FViewItems: TFViewItems ...@@ -196,6 +200,7 @@ object FViewItems: TFViewItems
ChildOrder = 83 ChildOrder = 83
ElementID = 'btnedit' ElementID = 'btnedit'
ElementFont = efCSS ElementFont = efCSS
Enabled = False
HeightStyle = ssAuto HeightStyle = ssAuto
HeightPercent = 100.000000000000000000 HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000 WidthPercent = 100.000000000000000000
......
...@@ -21,9 +21,6 @@ ...@@ -21,9 +21,6 @@
<li class="nav-item pe-2"> <li class="nav-item pe-2">
<button id="btncancel" class="btn btn-danger btn-sm">Cancel</button> <button id="btncancel" class="btn btn-danger btn-sm">Cancel</button>
</li> </li>
<li class="nav-item">
<button id="btnclose" class="btn btn-primary btn-sm">Close</button>
</li>
</ul> </ul>
</div> </div>
</nav> </nav>
......
...@@ -143,7 +143,7 @@ begin ...@@ -143,7 +143,7 @@ begin
Rows := TBody.children; Rows := TBody.children;
for I := 0 to Rows.length - 1 do for I := 0 to Rows.length - 1 do
begin begin
RowElem := TJSHTMLElement(Rows.item(I)); // ? cast Node ? HTMLElement RowElem := TJSHTMLElement(Rows.item(I)); // cast Node HTMLElement
RowElem.classList.remove('table-primary'); RowElem.classList.remove('table-primary');
end; end;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
MemoLogLevel=3 MemoLogLevel=3
FileLogLevel=5 FileLogLevel=5
webClientVersion=0.9.4 webClientVersion=0.9.4
LogFileNum=704 LogFileNum=722
[Database] [Database]
Server=192.168.159.131 Server=192.168.159.131
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment