TiddlyWiki.org

Ticket #542 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

Disable TiddlySaver when used over HTTP

Reported by: JeremyRuston Assigned to: 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

31/03/08 12:39:41 changed by JeremyRuston

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in changeset:4194