Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Issue: CalendarExtender updates seconds when clicking "today" [27376]

$
0
0
When clicking the "Today" button rather than a date button in the CalendarExtender the following happens:

The __year, month, day__ and __seconds__ parts of the date text in the text field are updated.

__Expected behaviour:__

Only __year, month, day__ should be updated like when a date button is pressed.


__Work around:__

In __MicrosoftAjax.Extended\Calendar\CalendarBehavior.pre.js__ in function __set_selectedDate__ lines 306 - 308 contains the following code:

value.setUTCHours(tbvalue.getUTCHours());
value.setUTCMinutes(tbvalue.getUTCMinutes());
value.setUTCMilliseconds(tbvalue.getUTCMilliseconds());

By adding the following line, the problem appears to be solved:

value.setUTCSeconds(tbvalue.getUTCSeconds());

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>