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:
James 2011-10-03 16:43:32 -04:00
parent 79519e25c2
commit 0e29dfa617
4 changed files with 703 additions and 2 deletions

View file

@ -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();
});