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

Commit c044d89

Browse files
committed
[21555] Ensure mobileControlTarget returns the name of the target
if the target is a DG2 control
1 parent f46e1f9 commit c044d89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-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 short name of me into sScrollerId
328+
mobileControlCreate "scroller", sScrollerId
329329
end if
330330
mobileControlSet sScrollerId, "canBounce", "true"
331331
mobileControlSet sScrollerId, "pagingEnabled", "false"

0 commit comments

Comments
 (0)