resources/js/app.js
// drag and drop lectures in modules
drag and drop lectures in modules
drag and drop lectures in modules
function makeDraggableLectures(selector) {
    $(selector).draggable({
        appendTo: "body",
        helper: "clone",
        drag: function( event, ui ) {
        },
        start: function( event, ui ) {
        },
        stop: function( event, ui ) {
        }
    });
    $(selector).removeClass('newly-created-lecture');
}
function makeDraggableLectures ( selector ) { $ ( selector ) . draggable ( { appendTo : "body" , helper : "clone" , drag : function ( event , ui ) { } , start : function ( event , ui ) { } , stop : function ( event , ui ) { } } ) ; $ ( selector ) . removeClass ( 'newly-created-lecture' ) ; }
drag and drop lectures in modules
drag and drop lectures in modules
/*$('.ui-accordion-header').mouseover( function() {

                // auto open accordion elements when drag and move over accordion
                if ($(this).hasClass('ui-accordion-header-collapsed')) {
                    $(this).click();
                }

            });*/ // $('#modules_accordion, .modules_accordion_lvl_2').accordion( "option", "event", "mouseover dropover" ); /*$('.ui-accordion-header').mouseover( function() {

                // auto open accordion elements when drag and move over accordion
                if ($(this).hasClass('ui-accordion-header-collapsed')) {
                    $(this).click();
                }

            });*/ // unset click on accord elem on mouseover //$('.ui-accordion-header').unbind('mouseover'); //$('#modules_accordion, .modules_accordion_lvl_2').accordion( "option", "event", "click" );