Changeset 679

Show
Ignore:
Timestamp:
09/07/06 12:54:23 (2 years ago)
Author:
JeremyRuston
Message:

Switched ImportTiddlers? to use saveTiddler() instead of addTiddler()

Files:
1 modified

Legend:

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

    r678 r679  
    10271027        for(t=0; t<rowNames.length; t++) 
    10281028                { 
    1029                 store.addTiddler(theStore.fetchTiddler(rowNames[t])); 
     1029                var inbound = theStore.fetchTiddler(rowNames[t]); 
     1030                store.saveTiddler(inbound.title, inbound.title, inbound.text, inbound.modifier, inbound.modified, inbound.tags); 
     1031                store.fetchTiddler(inbound.title).created = inbound.created; 
    10301032                store.notify(rowNames[t],false); 
    10311033                }