[Seaside] Re: I reported an error in error list - it was incorrectly classified as 'ignored'

Fritz Schenk intrader.intrader at gmail.com
Sat Feb 12 19:01:17 UTC 2011


Bob and Avi, I have simplified the code as follows:
<code>
renderContentOn: html
	| x |
	x := 100.
	(html div)
		id: 'external_links';
		with: [ 
					(html anchor)
						callback: [ x inspect ];
						with: x ].
	(html div)
		id: 'external_links';
		with: 'just some content'.
	(html button)
		onClick:
		((html jQuery expression: '#external_links a') onClick: 'return 
confirm("You are going to visit: "+ this.href)');
		with: 'Attach Click'
</code>
To reproduce, first I click on the button, then I click on the single link 
('100'). The inspector for 100 pops up instead of the confirm first.







More information about the seaside mailing list