mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Use real json boolean value for default key. #141
This commit is contained in:
parent
fb20b529e1
commit
eb67a192a1
2 changed files with 2 additions and 2 deletions
2
src/dist/js/script.min.js
vendored
2
src/dist/js/script.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -162,7 +162,7 @@
|
|||
|
||||
// Checked or not ?
|
||||
if (typeof data.manifest.arguments.install[k].default !== 'undefined') {
|
||||
if (data.manifest.arguments.install[k].default == "True" || data.manifest.arguments.install[k].default == "1") {
|
||||
if (data.manifest.arguments.install[k].default == true) {
|
||||
data.manifest.arguments.install[k].attributes = 'checked="checked"';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue