removing js that isn't needed, don't have slot minute option on month view.
This commit is contained in:
parent
f2b8f1d39d
commit
f71a4420a6
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
|
@ -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…
Reference in New Issue