[
https://issues.apache.org/jira/browse/FLAGON-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16904125#comment-16904125
]
Joshua Poore commented on FLAGON-440:
-------------------------------------
Solution seems to test well:
Produced modified index.html (index_form.html) to test out behavior. (see in
/example)
we now capture all submit behavior:
{"target":"button","path":["{color:#FF0000}button","form#test_text_input","body","html","#document","Window"{color}],"pageUrl":"file:///Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/example/index_form.html?","pageTitle":"UserAleJS
- Example
Page","pageReferrer":"","clientTime":1565372541295,"microTime":0.02,"location":\{"x":0,"y":0},"type":"{color:#FF0000}click"{color},"logType":"raw","userAction":true,"details":\{"clicks":0,"ctrl":false,"alt":false,"shift":false,"meta":false},"userId":"example-user","toolVersion":"2.0.2","toolName":"Apache
UserALE.js
Example","useraleVersion":"2.0.2","sessionID":"session_1565372376875"},
{"target":"form#test_text_input","path":["{color:#FF0000}form#test_text_input"{color},"body","html","#document","Window"],"pageUrl":"file:///Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/example/index_form.html?","pageTitle":"UserAleJS
- Example
Page","pageReferrer":"","clientTime":1565372541295,"microTime":0.59,"location":\{"x":null,"y":null},"type":"{color:#FF0000}submit"{color},"logType":"raw","userAction":true,"details":null,"userId":"example-user","toolVersion":"2.0.2","toolName":"Apache
UserALE.js
Example","useraleVersion":"2.0.2","sessionID":"session_1565372376875"},
> create sendOnRefresh function in sendlog
> ----------------------------------------
>
> Key: FLAGON-440
> URL: https://issues.apache.org/jira/browse/FLAGON-440
> Project: Flagon
> Issue Type: Sub-task
> Components: UserALE.js
> Affects Versions: UserALE.js 2.1.0
> Environment: java script
> Reporter: Joshua Poore
> Assignee: Joshua Poore
> Priority: Major
> Fix For: UserALE.js 2.1.0
>
>
> In order to capture events that cascade and ultimately trigger page
> refreshes, we need a function to wrap up sendLogs.
> This function needs to be included in the listening function of the event
> handler for classes of events that initiate refreshes
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)