﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13067	oncklick function called before button is inserted in textaera	Heinz		"For testing purposes I created a ""marktime"" plugin. In steps it should do following:

1. Click the ""M"" button in the toolbar
2. Insert a button in the textarea at the cursor position
3. Clicking the button in the textarea
4. Pop up an alert with the current date (dummy function)

But what happens is following :

1. Click the ""M"" button in the toolbar
2. The alert pop up showing the date
3. The button is inserted int the textarea
4. Clicking the button in the textarea does nothing

Weird though, after inserting  the source code shows this :


{{{
<p><input onclick=""undefined"" type=""button"" value=""click me to get the time"" /></p>

}}}

see also the attached plugin.js

[[Image(Step 1)]]
[[Image(Step 2)]]
[[Image(Source)]]"	Bug	closed	Normal		General		invalid		
