зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1443904 - Fix enabled/disabled logic for choice prompts in BasicGeckoViewPrompt r=snorp
This commit is contained in:
Родитель
17320c327a
Коммит
7392134c6b
|
@ -360,7 +360,7 @@ final class BasicGeckoViewPrompt implements GeckoSession.PromptDelegate {
|
||||||
final ModifiableChoice item = getItem(position);
|
final ModifiableChoice item = getItem(position);
|
||||||
return !item.choice.separator && !item.choice.disabled &&
|
return !item.choice.separator && !item.choice.disabled &&
|
||||||
((type != Choice.CHOICE_TYPE_SINGLE && type != Choice.CHOICE_TYPE_MULTIPLE) ||
|
((type != Choice.CHOICE_TYPE_SINGLE && type != Choice.CHOICE_TYPE_MULTIPLE) ||
|
||||||
item.choice.items != null);
|
item.choice.items == null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Загрузка…
Ссылка в новой задаче