implement UserLogger start-work-070517
authorcropposc
Fri, 07 Sep 2007 12:14:09 +0200
branchstart-work-070517
changeset 1590d104614b584
parent 158 c831f35dcbf0
child 160 52afe66ec7ea
implement UserLogger
src/java/isac/users/UserLogger.java
     1.1 --- a/src/java/isac/users/UserLogger.java	Fri Sep 07 12:09:55 2007 +0200
     1.2 +++ b/src/java/isac/users/UserLogger.java	Fri Sep 07 12:14:09 2007 +0200
     1.3 @@ -16,7 +16,6 @@
     1.4  import isac.util.ObjectManagerPaths;
     1.5  import isac.util.formulae.CalcHead;
     1.6  import isac.util.formulae.Formula;
     1.7 -import isac.useractions.EUIElement;
     1.8  
     1.9  /**
    1.10   * Records steps of the user. There is one instance per session.
    1.11 @@ -206,7 +205,7 @@
    1.12       */
    1.13      public void logCalcChanged(String worksheet_id, ICalcIterator formula,
    1.14              CalcChangedEvent event) {
    1.15 -            if (start_exp_ != null) // a just started exp is waiting
    1.16 +            if (start_exp_ != null && event.onEndOfCalculation()) // a just started exp is waiting
    1.17              { // the worksheet_id didNOTyet exist at UserAction UI..LINK...
    1.18                  // we expect that startCalculation() do NOT interleave
    1.19                  // for 1 user = for 1 UserLogger