removing js that isn't needed, don't have slot minute option on month view.

This commit is contained in:
Naomi 2011-02-02 14:57:51 -05:00
parent f2b8f1d39d
commit f71a4420a6
8 changed files with 10 additions and 25 deletions

View File

@ -24,7 +24,6 @@ class LibraryController extends Zend_Controller_Action
public function indexAction()
{
$this->view->headScript()->appendFile('/js/airtime/onready/library.js','text/javascript');
$this->view->headScript()->appendFile('/js/contextmenu/jjmenu.js','text/javascript');
$this->view->headScript()->appendFile('/js/jplayer/jquery.jplayer.min.js');
$this->view->headScript()->appendFile('/js/datatables/js/jquery.dataTables.js','text/javascript');

View File

@ -45,7 +45,6 @@ class SearchController extends Zend_Controller_Action
{
$this->_helper->layout->setLayout('search');
$this->view->headScript()->appendFile('/js/airtime/onready/search.js','text/javascript');
$this->view->headScript()->appendFile('/js/contextmenu/jjmenu.js','text/javascript');
$this->view->headLink()->appendStylesheet('/css/contextmenu.css');

View File

@ -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);
});
}
});

View File

@ -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
} );
}
});
});

View File

@ -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);
}
});

View File

@ -1,5 +0,0 @@
$(document).ready(function() {
setUpLibrary();
setUpSPL();
});

View File

@ -1,7 +0,0 @@
$(document).ready(function() {
setUpLibrary();
setUpSearch();
setUpSPL();
});

View File

@ -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 !== "") {