CC-2065: Fade times longer than Airtime supports can be set in Playlist Builder and Preferences

- Updated the logic in the fade in/out loggic so the Time format 00:00:00 appears as the more practical seconds format 00.
- I also updated the error message so it includes the time unit seconds in the message.
This commit is contained in:
Daniel Franklin 2012-02-02 14:44:14 -05:00
parent de7bbbb479
commit 03329ad2cf
4 changed files with 52 additions and 16 deletions

View file

@ -109,7 +109,7 @@ function changeFadeIn(event) {
unqid = li.attr("unqid");
if(!isTimeValid(fadeIn)){
showError(span, "please put in a time '00:00:00 (.000000)'");
showError(span, "please put in a time in seconds '00 (.000000)'");
return;
}
@ -141,7 +141,7 @@ function changeFadeOut(event) {
unqid = li.attr("unqid");
if(!isTimeValid(fadeOut)){
showError(span, "please put in a time '00:00:00 (.000000)'");
showError(span, "please put in a time in seconds '00 (.000000)'");
return;
}
@ -482,7 +482,7 @@ function setUpSPL() {
fadeIn = $.trim(span.text());
if(!isTimeValid(fadeIn)){
showError(span, "please put in a time '00:00:00 (.000000)'");
showError(span, "please put in a time in seconds '00 (.000000)'");
return;
}
@ -508,7 +508,7 @@ function setUpSPL() {
fadeOut = $.trim(span.text());
if(!isTimeValid(fadeOut)){
showError(span, "please put in a time '00:00:00 (.000000)'");
showError(span, "please put in a time in seconds '00 (.000000)'");
return;
}