-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/js sse on non supporting browser #259
Conversation
Should this be merged aftter #258 ? |
Better uri assignation; Switch from atkAjaxec to atkReloadView for GET support in reloadView
…upporting-browser
@DarkSide666 you'll have to test / review this because I don't have IE. |
Codecov Report
@@ Coverage Diff @@
## develop #259 +/- ##
=============================================
+ Coverage 71.34% 72.12% +0.77%
- Complexity 1110 1111 +1
=============================================
Files 62 62
Lines 2729 2730 +1
=============================================
+ Hits 1947 1969 +22
+ Misses 782 761 -21
Continue to review full report at Codecov.
|
@ibelar i had to fix a little, it was broken. can you check if it still OK as a fix? |
OK to ignore codecov/patch coverage, because zombiejs cant trigger SSE. |
…r' into fix/jsSse-on-non-supporting-browser
serverEvent.js plugin: - change how url param is pass to server. - add option to display a loader on the element generating the event. jsSSE.php - change how trigger is meet via $_Get[‘event’] param.
Fix jsSse to run callback function on non supporting browser.
On non supporting browser, like IE, the set callback function is never run.
Using this fix, the atkServerEvent.js plugin will fallback with using atkAjaxec.js when this occur, in order for the callback function define in set to be able to run and at least complete.