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:
parent
140c8d55ae
commit
5c401cb472
3 changed files with 11 additions and 31 deletions
|
@ -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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue