CC-3210 Show: Date mask does not work when you

"Add This Show" -> "Close" -> "+ Show"

- moved masking function to more appropriate place which also
fixed the bug
This commit is contained in:
james 2011-12-18 22:55:03 -05:00
parent ce27632ec9
commit 17e09b64af
2 changed files with 9 additions and 19 deletions

View file

@ -37,6 +37,13 @@ function openAddShowForm() {
$add_show_name.select();
});
}
$.mask.masks = $.extend($.mask.masks,{
date:{ mask: '9999-19-39', selectCharsOnFocus: true, autoTab: false},
time:{ mask: '29:69', selectCharsOnFocus: true, autoTab: false}
})
$('input:text').setMask()
}
function makeAddShowButton(){