hipsnip/furniture — Issue #6: wrong data used for selection in javascript
Author: jos3000
Created: 2012-01-24 14:05:03+00:00
State: open

```
var d = that.getValue(action, selector, data);

if(action.when || action.not_when){
var should_render = (action.when)?!!select(action.when, d):!select(action.not_when, d);
if(!should_render){
d = null;
}
}
```

The selection should be from `data` not `d`