Commit 5670df14 authored by joriot221's avatar joriot221
Browse files

Suppression de l'ancien logo de chargement recherche intervenant

parent e7320531
Loading
Loading
Loading
Loading
−1
Changes for module/Application/view/application/intervenant/rechercher.phtml: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@
        <div class="critere">
            Saisissez le nom suivi éventuellement du prénom (2 lettres au moins) :<br/>
            <input id="critere" class="form-control input" type="text" style="width:15em;display:inline"/>
            <span class="loading" id="intervenant-recherche-loading" style="display: none">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
        </div>
        <div class="recherche" data-url="<?= $this->url('intervenant/recherche') ?>">

−3
Changes for public/intervenant-recherche/widget.js: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -9,14 +9,12 @@ $.widget("ose.intervenantRecherche", {
        var that = this;

        if (critere.length > 1) {
            that.getElementLoading().show();
            that.getElementRecherche().refresh({critere: critere}, function (response, status, xhr)
            {
                if (status == "error") {
                    var msg = "Désolé mais une erreur est survenue: ";
                    that.getElementRecherche().html(msg + xhr.status + " " + xhr.statusText + xhr.responseText);
                }
                that.getElementLoading().hide();
                that.getElementCritere().autocomplete();
                stopFunc();
            });
@@ -39,5 +37,4 @@ $.widget("ose.intervenantRecherche", {

    getElementCritere: function () { return this.element.find("#critere"); },
    getElementRecherche: function () { return this.element.find('.recherche'); },
    getElementLoading: function () { return this.element.find('#intervenant-recherche-loading'); },
});
 No newline at end of file