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
|
@ -447,15 +447,6 @@ function setAddShowEvents() {
|
|||
}
|
||||
$('#add_show_duration').val(duration);
|
||||
}
|
||||
|
||||
function pad(number, length) {
|
||||
var str = '' + number;
|
||||
while (str.length < length) {
|
||||
str = '0' + str;
|
||||
}
|
||||
|
||||
return str;
|
||||
}
|
||||
}
|
||||
|
||||
function showErrorSections() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue