Had to add hack for mobile. This works
Local sHackDownloadCompleteFlag
on browserDocumentLoadComplete pURL
add 1 to sHackDownloadCompleteFlag
ntinfo ("download flag: " & sHackDownloadCompleteFlag)
if pURL is not empty then
dispatch "hideloader" to me
end if
show widget "Body"
show group "footer"
put "true" into sLoadSuccessFlag
put pURL into sBrowserURL
browser_SetLastURL pURL
put short name of the target into tBrowser
ntInfo ( (the lockscreen) & "; show the target: " & tBrowser &"; " & pURL)
if tBrowser = "Body" then
if isMobile() = "true" then
if sHackDownloadCompleteFlag = 2 then
journal_AddEntry
end if
else
journal_AddEntry
end if
end if
if sHackDownloadCompleteFlag = 2 then
put 0 into sHackDownloadCompleteFlag
end if
end browserDocumentLoadComplete
Brahmanathaswami
On 1/30/19, 4:02 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via
use-livecode" <[email protected] on behalf of
[email protected]> wrote:
I learned something today, wow, the target only records mouse click budget
record what the message it going to
This was useful. It is still being call twice on mobile. NetWork tracer
output.
I have to set a flag or same
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode