Commit b4ea684b authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

nettoyage

parent 5662ef40
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -109,8 +109,7 @@ $.widget("ose.enseignements", {
        if (this.heures != exHeures) {
            this._trigger('heures-change', null, this);
        }
        console.log(this.element.find(".horodatage"));
        console.log(this.element.find(".horodatage2"));


        this.element.find(".horodatage").each(function () {
            $(this).refresh();
@@ -124,7 +123,6 @@ $.widget("ose.enseignements", {

    onAfterSaisie: function (serviceId) {
        var that = this;
        console.log('onAfterSaisie');
        if (that.element.find("#service-" + serviceId + "-ligne").length) { // simple modification
            that.element.find("#service-" + serviceId + "-ligne").refresh({
                details: that.element.find('#service-' + serviceId + '-volume-horaire-tr').css('display') == 'none' ? '0' : '1',
@@ -139,7 +137,6 @@ $.widget("ose.enseignements", {
                'details': 1,
                params: that.params
            });
            console.log('nouveau');
            $.get(url, function (data) {
                that.element.find("table:first > tbody:last").append(data);
                that.onAfterChange();