Development

Changeset 5775

You must first sign up to be able to contribute.

Changeset 5775

Show
Ignore:
Timestamp:
10/31/07 10:03:01 (2 years ago)
Author:
Leon.van.der.Ree
Message:

preload hack

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/_list_ajax_layout.php

    r5768 r5775  
    218218?> 
    219219    var <?= strtolower($class) ?>_ds = <?php echo $jsDataStore ?>; 
    220     <?= strtolower($class) ?>_ds.load(); 
     220    <?= strtolower($class) ?>_ds.load({params:{start:0, limit:10000}}); // TODO: do I need to say more, this is a hack to preload everything, which probably isn't desired... (but when something isn't there, but it is requested by the renderer with its ID javascript breaks. Requesting the id would be ideal, but because it runs in a seperate thread I don't know how yet... 
    221221     
    222222  <?php endforeach; ?> 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.