Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #18132 passed
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment