diff --git a/vendor/easy-asterisk/easy-asterisk-v0.10.0.sh b/vendor/easy-asterisk/easy-asterisk-v0.10.0.sh index 4aad948..4aaba9c 100755 --- a/vendor/easy-asterisk/easy-asterisk-v0.10.0.sh +++ b/vendor/easy-asterisk/easy-asterisk-v0.10.0.sh @@ -5076,8 +5076,8 @@ HTML_TEMPLATE = '''
@@ -5314,9 +5314,11 @@ HTML_TEMPLATE = ''' devicesCache = devices; renderDevices(); - // Update category select in add device form + // Update category select in add device form. Most devices + // added day-to-day are phones, not fixed kiosks, so default + // to the "mobile" category instead of whichever sorts first. document.getElementById('category-select').innerHTML = categoriesCache.map(c => - `` + `` ).join(''); } catch (e) { showAlert('Failed to load devices', 'error'); @@ -5455,7 +5457,7 @@ HTML_TEMPLATE = ''' }).join(''); document.getElementById('category-select').innerHTML = categories.map(c => - `` + `` ).join(''); } catch (e) { showAlert('Failed to load categories', 'error');