Ticket #415 (closed enhancement: fixed)
Notification of web server requirement
| Reported by: | jkronika@… | Owned by: | gogo |
|---|---|---|---|
| Priority: | high | Milestone: | Version 1.0 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | xmlhttprequest status local web file server |
| Cc: |
Description
Since Xinha cannot be run properly as a local file (using "protocol" of file:///...), I suggest an addition of the following to the postBack and getBack functions in HTMLArea.js. This will provide a more descriptive notification of the error encountered when Xinha is run locally:
else if(req.status == 0 && document.URL.search(/file:\/\/\//) > -1) {
alert('Xinha cannot be run locally (without a web server).');
}
This would be placed between the if and else portions checking the req.status value that currently provide feedback on errors.
Change History
Note: See
TracTickets for help on using
tickets.
