CC-3671: add show on week/day view doesn't get start time/end time filled in

- fixed
- moved pad function into common.js
This commit is contained in:
James 2012-04-25 16:04:36 -04:00
parent 140c8d55ae
commit 5c401cb472
3 changed files with 11 additions and 31 deletions

View file

@ -82,4 +82,13 @@ function openPreviewWindow(url) {
//var elemID = "spl_"+elemIndexString;
//$('#'+elemID+' div.list-item-container a span').attr("class", "ui-icon ui-icon-pause");
return false;
}
function pad(number, length) {
var str = '' + number;
while (str.length < length) {
str = '0' + str;
}
return str;
}