CC-2917: Adding show, when inputting time and specifying a bogus
time (like 55555), then Nan-Nan-Nan shows up(possibly when tabbing) - fixed by implementing masking on the fields - used meioMask jquery plugin
This commit is contained in:
parent
79519e25c2
commit
0e29dfa617
4 changed files with 703 additions and 2 deletions
|
@ -419,10 +419,16 @@ function showErrorSections() {
|
|||
$("#schedule-record-rebroadcast").show();
|
||||
$("#add_show_rebroadcast_relative").show();
|
||||
}
|
||||
$('input:text').setMask()
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$.mask.masks = $.extend($.mask.masks,{
|
||||
date:{ mask: '9999-19-39'},
|
||||
time:{ mask: '29:69'}
|
||||
})
|
||||
|
||||
$('input:text').setMask()
|
||||
//setAddShowEvents();
|
||||
});
|
||||
|
||||
|
@ -438,6 +444,13 @@ $(window).resize(function(){
|
|||
});
|
||||
|
||||
$(window).load(function() {
|
||||
|
||||
$.mask.masks = $.extend($.mask.masks,{
|
||||
date:{ mask: '9999-19-39'},
|
||||
time:{ mask: '29:69'}
|
||||
})
|
||||
|
||||
$('input:text').setMask()
|
||||
|
||||
setAddShowEvents();
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue