[dev] Form doesn't refresh when using date picker

Jan Schneider jan at horde.org
Mon Nov 12 10:24:25 UTC 2012


Zitat von Karim Geiger <geiger at b1-systems.de>:

> On 11/12/2012 10:58 AM, Jan Schneider wrote:
>>
>> Zitat von Karim Geiger <geiger at b1-systems.de>:
>>
>>> Hi *,
>>>
>>> when using the Horde_Form_Action::factory('reload') on a datetime
>>> Element it only refreshes the form when using the dropdowns for
>>> day/month/year/hour/minute. When using the date picker instead (the icon
>>> next to the year) it fills the fields correctly but doesn't refresh the
>>> form as expected.
>>>
>>> Is this desired behavior?
>>>
>>> Karim
>>
>> The action is triggered by the onchange event of the browser, so it
>> depends on whether the browser fires this.
>
> Well on my system it's not working with firefox and google chrome.. is
> there a workaround to fix that?
>
> Karim

I'm not sure if it's possible to fire a native browser event manually.  
But you can try this, after setting the values from the picker.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the dev mailing list