Changeset 7655

Show
Ignore:
Timestamp:
03/19/07 01:05:41 (22 months ago)
Author:
alex
Message:

ensure that the play/pause button is in the right state. Refs #2550

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/tests/_browserRunner.js

    r7654 r7655  
    7676                                var lb = byId("logBody"); 
    7777                                if(lb){ 
     78                                        // clear the console before each run 
    7879                                        while(lb.firstChild){ 
    7980                                                lb.removeChild(lb.firstChild); 
     
    291292                                } 
    292293                                tests._onEnd = toggleRunning; 
     294                                tests.run = (function(oldRun){ 
     295                                        return function(){ 
     296                                                toggleRunning(); 
     297                                                return oldRun.apply(tests, arguments); 
     298                                        } 
     299                                })(tests.run); 
    293300                                var btns = byId("toggleButtons").getElementsByTagName("span"); 
    294301                                var node; var idx=0;