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

Closed Issue: MaskEdit lost time if DateTime format is set [26887]

$
0
0
in the script funtcion AutoFormatTime has lines
if (this._MaskType == Lucky.Web.UI.WebControls.MaskedEditType.DateTime) {
var arr = this._SplitDateTime(ValueText);
var time_arr = arr[1].split(" ");
if (time_arr.length == 2) {
ValueText = time_arr[0] + " " + time_arr[1];
}
else {
ValueText = arr[0];//not valid array - it`s gate date? but need time
}

but must be

if (this._MaskType == Lucky.Web.UI.WebControls.MaskedEditType.DateTime) {
var arr = this._SplitDateTime(ValueText);
var time_arr = arr[1].split(" ");
if (time_arr.length == 2) {
ValueText = time_arr[0] + " " + time_arr[1];
}
else {
ValueText = time_arr[0];
}

Comments: Outdated.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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