Difference between revisions of "Board18BoxLoad"
Jump to navigation
Jump to search
(initial contents for this page) |
m |
||
Line 1: | Line 1: | ||
{{ReleaseNoticeX|2.2|Design_Document_board18BoxLoad_Page}} | {{ReleaseNoticeX|2.2|Design_Document_board18BoxLoad_Page}} | ||
The board18BoxLoad script contains | The board18BoxLoad script contains all of the js functions | ||
for the board18BoxLoad page. | for the board18BoxLoad page. | ||
Revision as of 16:45, 10 July 2016
This page has been updated to comply with Release 2.2.x of BOARD18. | Go Back |
The board18BoxLoad script contains all of the js functions for the board18BoxLoad page.
Function emailPlayerResult(response)
Function emailPlayerResult is the call back function for an ajax call to emailPlayer.php. It only needs to check for errors.
Output from emailPlayer.php is an echo return status:
"success" - Email sent. "fail" - Uexpected error - This email not sent.
Function doMail(report)
Function doMail sends an Email report to the author after the ajax loadBox.php call returns a success or an email status.
Function zipBoxOk(resp)
Function zipBoxOk processes the return from the loadBox.php call.
resp.stat will be "success||"fail"||"nofile"||"toobig"||"email"
On a status of success or email it will send an email to the author.