Skip to content

Commit be8d2d4

Browse files
authored
0.7.2 (#208)
2 parents 52031f8 + 02e0f12 commit be8d2d4

File tree

9 files changed

+12
-6
lines changed

9 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,18 @@
1212
<!-- ### Dependencies -->
1313
<!-- -->
1414

15+
## mytoken 0.7.2
16+
17+
### Bugfixes
18+
19+
- Fixed a bug in the webinterface where the metadata discovery was broken.
20+
1521
## mytoken 0.7.1
1622

1723
### Bugfixes
1824

19-
- Fixed a bug with the local storage that caused problems with outdated discovery information
25+
- Fixed a bug in the webinterface with the local storage that caused problems with outdated discovery information
26+
- Fixed a bug in the webinterface where the `Expand` `Collapse` buttons (e.g. in the consent screen) got the wrong text.
2027

2128
## mytoken 0.7.0
2229

internal/model/version/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7.1
1+
0.7.2
0 Bytes
Loading
-3 Bytes
Loading

internal/server/web/static/js/create-mt.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ function initProfileSupport() {
9393
$checks = $checks.add($(`.any-restr-input[instance-prefix=${mtPrefix}]`));
9494
$checks = $checks.add($(`.any-rot-input[instance-prefix=${mtPrefix}]`));
9595
$checks = $checks.add(capabilityChecks(mtPrefix));
96-
console.log($checks);
9796
$checks.on('change change.datetimepicker', function (e) {
9897
if ($(e.currentTarget).hasClass('datetimepicker-input') && datetimepickerChangeTriggeredFromJS) {
9998
return;

internal/server/web/static/js/discovery.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ const configElements = [
1111

1212
function discovery(...next) {
1313
try {
14-
if (storageGet('discovery') !== null) {
14+
const discovery = storageGet('discovery');
15+
if (discovery !== null && discovery !== undefined) {
1516
doNext(...next);
1617
return;
1718
}

internal/server/web/static/js/tokeninfo-status.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ $('#recreate-mt').on('click', function () {
198198
authURL(tokeninfoPrefix).attr("href", url);
199199
authURL(tokeninfoPrefix).text(url);
200200
mtInstructions(tokeninfoPrefix).showB();
201-
console.log("foo");
202201
polling_recreate_mytoken(code, interval);
203202
window.open(url, '_blank');
204203
},

internal/server/web/static/js/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $.fn.hideB = function () {
2424
$('.my-expand').on('click', function () {
2525
const expand = "Expand";
2626
const collapse = "Collapse";
27-
if ($(this).text() === expand) {
27+
if ($(this).text().trim() === expand) {
2828
$(this).text(collapse);
2929
} else {
3030
$(this).text(expand);

mytoken.png

-3 Bytes
Loading

0 commit comments

Comments
 (0)