removing js that isn't needed, don't have slot minute option on month view.
This commit is contained in:
parent
f2b8f1d39d
commit
f71a4420a6
8 changed files with 10 additions and 25 deletions
|
@ -36,7 +36,7 @@ function ajaxAddGroup() {
|
|||
});
|
||||
}
|
||||
|
||||
function setUpSearch() {
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#search_add_group").click(ajaxAddGroup);
|
||||
|
||||
|
@ -45,4 +45,4 @@ function setUpSearch() {
|
|||
$('[id^="fieldset-row_"]').each(function(i, el){
|
||||
addRemove(el);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -71,7 +71,7 @@ function dtDrawCallback() {
|
|||
addLibraryItemEvents();
|
||||
}
|
||||
|
||||
function setUpLibrary() {
|
||||
$(document).ready(function() {
|
||||
|
||||
$('.tabs').tabs();
|
||||
|
||||
|
@ -103,5 +103,5 @@ function setUpLibrary() {
|
|||
"sPaginationType": "full_numbers",
|
||||
"bJQueryUI": true,
|
||||
"bAutoWidth": false
|
||||
} );
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -377,7 +377,7 @@ function openDiffSPL(json) {
|
|||
setUpSPL();
|
||||
}
|
||||
|
||||
function setUpSPL() {
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#spl_sortable").sortable();
|
||||
$("#spl_sortable" ).bind( "sortstop", moveSPLItem);
|
||||
|
@ -401,5 +401,4 @@ function setUpSPL() {
|
|||
$("#spl_sortable").droppable();
|
||||
$("#spl_sortable" ).bind( "drop", addSPLItem);
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
$(document).ready(function() {
|
||||
|
||||
setUpLibrary();
|
||||
setUpSPL();
|
||||
});
|
|
@ -1,7 +0,0 @@
|
|||
$(document).ready(function() {
|
||||
|
||||
setUpLibrary();
|
||||
setUpSearch();
|
||||
setUpSPL();
|
||||
|
||||
});
|
|
@ -22,10 +22,11 @@ function dayClick(date, allDay, jsEvent, view) {
|
|||
}
|
||||
|
||||
function viewDisplay( view ) {
|
||||
|
||||
|
||||
$('.schedule_change_slots').remove();
|
||||
|
||||
if(view.name === 'agendaDay' || view.name === 'agendaWeek') {
|
||||
|
||||
$('.schedule_change_slots').remove();
|
||||
var calendarEl = this;
|
||||
|
||||
var select = $('<select class="schedule_change_slots"/>')
|
||||
|
@ -76,7 +77,6 @@ function eventRender(event, element, view) {
|
|||
}
|
||||
|
||||
$(element).find(".fc-event-title").after(div);
|
||||
|
||||
}
|
||||
|
||||
if(event.backgroundColor !== "") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue