Merge branch 'master' of dev.sourcefabric.org:campcaster
This commit is contained in:
commit
5a3dbdb671
|
@ -9,6 +9,7 @@ class Application_Form_AddShowRepeats extends Zend_Form_SubForm
|
||||||
$this->addElement('select', 'add_show_repeat_type', array(
|
$this->addElement('select', 'add_show_repeat_type', array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'label' => 'Repeat Type:',
|
'label' => 'Repeat Type:',
|
||||||
|
'class' => ' input_select',
|
||||||
'multiOptions' => array(
|
'multiOptions' => array(
|
||||||
"0" => "weekly",
|
"0" => "weekly",
|
||||||
"1" => "bi-weekly",
|
"1" => "bi-weekly",
|
||||||
|
|
|
@ -23,13 +23,15 @@ function dayClick(date, allDay, jsEvent, view) {
|
||||||
|
|
||||||
function viewDisplay( view ) {
|
function viewDisplay( view ) {
|
||||||
|
|
||||||
$('.schedule_change_slots').remove();
|
var td = $('.schedule_change_slots').parent();
|
||||||
|
td.prev().remove();
|
||||||
|
td.remove();
|
||||||
|
|
||||||
if(view.name === 'agendaDay' || view.name === 'agendaWeek') {
|
if(view.name === 'agendaDay' || view.name === 'agendaWeek') {
|
||||||
|
|
||||||
var calendarEl = this;
|
var calendarEl = this;
|
||||||
|
|
||||||
var select = $('<select class="schedule_change_slots"/>')
|
var select = $('<select class="schedule_change_slots input_select"/>')
|
||||||
.append('<option value="5">5 min</option>')
|
.append('<option value="5">5 min</option>')
|
||||||
.append('<option value="10">10 min</option>')
|
.append('<option value="10">10 min</option>')
|
||||||
.append('<option value="15">15 min</option>')
|
.append('<option value="15">15 min</option>')
|
||||||
|
|
Loading…
Reference in New Issue