hide Monitor ID in monitor list to make more human

email-send-options-from-account
Moe 2021-11-08 16:09:55 -08:00
parent 91122851d2
commit 4c53cde522
1 changed files with 2 additions and 2 deletions

View File

@ -650,12 +650,12 @@ function permissionCheck(toCheck,monitorId){
return false
}
function drawMonitorListToSelector(jqTarget,selectFirst){
function drawMonitorListToSelector(jqTarget,selectFirst,showId){
var html = ''
$.each(loadedMonitors,function(n,v){
html += createOptionHtml({
value: v.mid,
label: v.name + ` (${v.mid})`,
label: v.name + (showId ? ` (${v.mid})` : ''),
})
})
jqTarget.html(html)