Commit 898768b1 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction de bug : la MAJ d'activation/désactivation ne fonctionnait plus suite passage BS5

parent 783c0a2c
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ echo $this->partial('unicaen-import/import/menu', ['active' => 'tables']);
                        if (in_array($table->getName(), $views)) {

                            $class = $table->isSyncEnabled() ? 'fas fa-check text-success' : 'fas fa-xmark text-danger refuse';
                            $icon  = $this->tag('i', ['class' => 'fas fa-check ' . $class, 'style' => 'font-size: 14pt']);
                            $icon  = $this->tag('i', ['class' => 'activation fas fa-check ' . $class, 'style' => 'font-size: 14pt']);

                            if ($canEdit) {
                                echo $this->tag('a', [
@@ -133,7 +133,7 @@ echo $this->partial('unicaen-import/import/menu', ['active' => 'tables']);
            synchroSwitch: function (table)
            {
                var that = this;
                var glyphSwitch = that.element.find("tr.table-ligne[data-table='" + table + "'] .glyph-switch");
                var glyphSwitch = that.element.find("tr.table-ligne[data-table='" + table + "'] .activation");

                glyphSwitch.addClass('loading');
                glyphSwitch.removeClass('fa-check text-success');