Changeset 756

Show
Ignore:
Timestamp:
09/20/06 12:56:12 (2 years ago)
Author:
JeremyRuston
Message:

Restored automatic updating for modifications to ColorPalette?

Location:
Branches/2.1/core/js
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • Branches/2.1/core/js/Macros.js

    r717 r756  
    859859config.macros.refreshDisplay.onClick = function(e) 
    860860{ 
    861         refreshPageTemplate(); 
    862         refreshDisplay(); 
    863         refreshStyles("StyleSheetLayout"); 
    864         refreshStyles("StyleSheetColors"); 
    865         refreshStyles("StyleSheet"); 
    866         refreshStyles("StyleSheetPrint"); 
     861        refreshAll(); 
    867862        return false; 
    868863} 
  • Branches/2.1/core/js/main.js

    r684 r756  
    1414var safeMode = false; // Disable all plugins and cookies 
    1515var installedPlugins = []; // Information filled in when plugins are executed 
     16var startingUp = false; // Whether we're in the process of starting up 
    1617 
    1718// Whether to use the JavaSaver applet 
     
    2223{ 
    2324        var now, then = new Date(); 
     25        startingUp = true; 
    2426        window.onbeforeunload = function(e) {if(window.confirmExit) return confirmExit();}; 
    2527        params = getParameters(); 
     
    5052        now = new Date(); 
    5153        displayMessage("TiddlyWiki startup in " + (now-then) + " milliseconds"); 
     54        startingUp = false; 
    5255} 
    5356