Ticket #542 (closed defect: fixed)
Disable TiddlySaver when used over HTTP
| Reported by: | JeremyRuston | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | undefined | Milestone: | 2.3.1 |
| Component: | core | Version: | |
| Severity: | undefined | Keywords: | |
| Cc: |
Description
Currently, the assignment to useJavaSaver in main.js looks like this:
var useJavaSaver = config.browser.isSafari || config.browser.isOpera;
This means that the java applet will be used if the browser is Opera or Safari. This causes the applet to be loaded unnecessarily even if the TW document is being accessed over HTTP(S). It is proposed to change the line to:
var useJavaSaver = (config.browser.isSafari || config.browser.isOpera) && (document.location.toString().substr(0,4) != "http");
Change History
Note: See
TracTickets for help on using
tickets.
