Loading public/js/service.js +1 −4 Original line number Diff line number Diff line Loading @@ -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(); Loading @@ -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', Loading @@ -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(); Loading Loading
public/js/service.js +1 −4 Original line number Diff line number Diff line Loading @@ -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(); Loading @@ -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', Loading @@ -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(); Loading