list(z in t.items order by date desc) {
item(onclick={ editPersonItem(z);}) {
label(z.item)
sideButton(“Delete”, onclick={ remove(z); })
}
}

when i use this code and click the Delete sideButton the element is deleted but directly after that the editPersonItem screen is called. Is that a bug or do I use a wrong implementation. (and the delete-button is on top of the arrow-right image)
I know i could bind the editPersonItem-event to the label for a workaround but i lose touching space and the animation of the whole line being pressed.

any help is really appreciated :)

Submitted on 29 April 2011 at 15:03

Log in to post comments