Skip to content
Code-Schnipsel Gruppen Projekte
Commit 3cb645e0 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: the active status was not returned correctly

Übergeordneter b7f6ab06
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -364,7 +364,7 @@ define('qui/controls/buttons/Button', needle, function (Control, Utils, NoSelect
return false;
}
return this.getElm().get('data-status') === 1;
return parseInt(this.getElm().get('data-status')) === 1;
},
/**
......@@ -411,7 +411,7 @@ define('qui/controls/buttons/Button', needle, function (Control, Utils, NoSelect
return false;
}
return this.getElm().get('data-status') === -1;
return parseInt(this.getElm().get('data-status')) === -1;
},
/**
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren