Changeset 8895

Show
Ignore:
Timestamp:
04/29/08 17:28:09 (5 months ago)
Author:
hannes
Message:

* Only fetch books when needed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/minibase/trunk/demo/main.js

    r8886 r8895  
    88// this also shows simple skin rendering 
    99function main_action() { 
    10     var books = model.Book.all(); 
    1110    if (req.data.save) { 
    1211        createBook(); 
     
    1514        removeBook(); 
    1615    } 
     16    var books = model.Book.all(); 
    1717    renderSkin('skins/index.html', { 
    1818        title: 'Minibase Demo',