Ok, i'll do so. Simply paste it as comment?
It would be better if you submit the patch to the jira issue and allow
Apache to use it.
Cheers,
Dragan Sahpaski
On Mon, Mar 12, 2012 at 11:51 AM, Michael Wyraz
<michael.wy...@evermind.de>wrote:
Hi,
this is my first T5 patch. Please correct me if submission here is wrong.
It is for my issue TAP5-1844 and adds an "onchange" event to the
datepicker component.
Index: tapestry-core/src/main/**resources/org/apache/**
tapestry5/corelib/components/**datefield.js
==============================**==============================**=======
--- tapestry-core/src/main/**resources/org/apache/**
tapestry5/corelib/components/**datefield.js (Revision 1299618)
+++ tapestry-core/src/main/**resources/org/apache/**
tapestry5/corelib/components/**datefield.js (Arbeitskopie)
@@ -114,7 +114,10 @@
var date = this.datePicker.getDate();
var resultHandler = function(result) {
- this.field.value = result;
+ if (this.field.value != result) {
+ this.field.value = result;
+ if (this.field.onchange) this.field.onchange();
+ }
this.hidePopup();
------------------------------**------------------------------**---------
To unsubscribe, e-mail:
dev-unsubscribe@tapestry.**apache.org<dev-unsubscr...@tapestry.apache.org>
For additional commands, e-mail: dev-h...@tapestry.apache.org
--
Mit freundlichen Grüßen / Regards
Michael Wyraz
evermind GmbH
Schorlemmerstraße 1
04155 Leipzig
Tel.: +49 (0)341-25 39 66 - 0
Fax: +49 (0)341-25 39 66 - 1
Funk: +49 (0)177-73 00 00 3
E-Mail: michael.wy...@evermind.de
HRB: 21586
Amtsgericht Leipzig
Geschäftsführer:
Christoph Klemm
Thomas Grünert
Michael Wyraz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org