[fix] Use real json boolean value for default key. #141

This commit is contained in:
opi 2016-02-04 14:43:48 +01:00
parent fb20b529e1
commit eb67a192a1
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -162,7 +162,7 @@
// Checked or not ? // Checked or not ?
if (typeof data.manifest.arguments.install[k].default !== 'undefined') { 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"'; data.manifest.arguments.install[k].attributes = 'checked="checked"';
} }
} }