Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit abfc389

Browse files
Merge pull request #2033 from livecode/bugfix-21555
[21555] Ensure mobileControlTarget returns the long ID of the target if the target is a DataGrid
2 parents f46e1f9 + 3f67262 commit abfc389

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Toolset/palettes/revdatagridlibrary/behaviorsdatagridbuttonbehavior.livecodescript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ private command _CreateMobileScroller
324324
(_ControlType() is "table" and \
325325
the dgProps["show hscrollbar"] of me is not false) then
326326
if sScrollerId is empty or sScrollerId is not among the lines of mobileControls() then
327-
mobileControlCreate "scroller"
328-
put the result into sScrollerId
327+
put the long id of me into sScrollerId
328+
mobileControlCreate "scroller", sScrollerId
329329
end if
330330
mobileControlSet sScrollerId, "canBounce", "true"
331331
mobileControlSet sScrollerId, "pagingEnabled", "false"

notes/bugfix-21555.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure mobileControlTarget() returns the long id of the target, if the target is a DataGrid

0 commit comments

Comments
 (0)