Small bugfix for CC-6064
This commit is contained in:
parent
30b8ada622
commit
2693c9f02c
3 changed files with 23 additions and 3 deletions
|
@ -8,8 +8,11 @@ function openAddShowForm(nowOrFuture) {
|
|||
if($("#add-show-form").length == 1) {
|
||||
if( ($("#add-show-form").css('display')=='none')) {
|
||||
|
||||
$('#add_show_start_now-now').attr('checked', 'checked');
|
||||
setupStartTimeWidgets();
|
||||
if (nowOrFuture === true) //true means "now"
|
||||
{
|
||||
$('#add_show_start_now-now').attr('checked', 'checked');
|
||||
setupStartTimeWidgets();
|
||||
}
|
||||
$("#add-show-form").show();
|
||||
|
||||
windowResize();
|
||||
|
@ -180,7 +183,7 @@ function beginEditShow(data){
|
|||
|
||||
redrawAddShowForm($("#add-show-form"), data.newForm);
|
||||
toggleAddShowButton();
|
||||
openAddShowForm();
|
||||
openAddShowForm(false);
|
||||
}
|
||||
|
||||
function onStartTimeSelect(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue