only require one wifi scan to submit quest
This commit is contained in:
parent
e55ea84477
commit
c78e9ed600
1 changed files with 6 additions and 8 deletions
|
@ -1556,17 +1556,15 @@ c3nav = {
|
|||
|
||||
|
||||
$scanner.empty();
|
||||
if (c3nav._quest_wifi_scans.length < 2) {
|
||||
if (c3nav._quest_wifi_scans.length < 1) {
|
||||
$scanner.append('<p>Scanning… Please do not close this popup and do not move.</p>');
|
||||
} else {
|
||||
if (c3nav._quest_wifi_scans.length > 2) {
|
||||
$('#modal input[name=data]').val(JSON.stringify({
|
||||
wifi: c3nav._quest_wifi_scans,
|
||||
ibeacon: c3nav._quest_ibeacon_scans,
|
||||
}))
|
||||
$('#modal button[type=submit]').show();
|
||||
}
|
||||
}
|
||||
|
||||
if (wifi_display_results.length > 0) {
|
||||
$scanner.append($wifi_table);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue