Skip to content

Commit

Permalink
v1.38
Browse files Browse the repository at this point in the history
  • Loading branch information
demel42 committed Jul 15, 2023
1 parent 787ef0e commit 8917651
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions NetatmoWeatherIO/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -524,15 +524,20 @@ private function GetFormActions()
'caption' => $this->Translate('Needed scopes') . ': ' . implode(' ', self::$scopes),
],
[
'type' => 'ValidationTextBox',
'width' => '600px',
'name' => 'refresh_token',
'caption' => 'Refresh token'
],
[
'type' => 'Button',
'caption' => 'Set',
'onClick' => 'IPS_RequestAction(' . $this->InstanceID . ', "SetRefreshToken", $refresh_token);',
'type' => 'RowLayout',
'items' => [
[
'type' => 'ValidationTextBox',
'width' => '600px',
'name' => 'refresh_token',
'caption' => 'Refresh token'
],
[
'type' => 'Button',
'caption' => 'Set',
'onClick' => 'IPS_RequestAction(' . $this->InstanceID . ', "SetRefreshToken", $refresh_token);',
],
],
],
],
];
Expand Down

0 comments on commit 8917651

Please sign in to comment.