The past days have been hectic. I was really fed up with the small bugs related to ajax edit/update/remove/etc.
The beasts were:

This bug prevented from adding comments to multiple items on a single page. There were also problems with opening many ‘edit’ forms.

Because of this one, you could not produce a list of drop boxes by using ‘each’ (<r:tags do='each' do='drop' set='tagged'/>). This was a pity.

If an object appears inside many contexts (tag boxes for example), unlink was removing the wrong element (duplicate dom_id).
And as a bonus for clearing all this, we can now unlink by clicking on an image/div/text instead of the default delete (
).
Example involving most of the bug fixes above:
<ul do='images in site'><li do='each' draggable='true' do='img' mode='mini'/></ul>
<ul do='tags in site'>
<li do='each' do='drop' set='tagged'>
<ul do='tagged'>
<li do='each' do='unlink' do='img' mode='pv'/>
</ul>
</li>
</ul>
I am happy.
Gaspard Bucher
comments