fix 2 small js bugs
parent
bdcc54eaa4
commit
8620bc567d
|
@ -134,6 +134,10 @@ function setFieldValue(f, v)
|
|||
function handleControlledField(controlled_id, is_initial_editform)
|
||||
{
|
||||
var m = field_metadata[controlled_id];
|
||||
if (!m)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var controlled = document.getElementById(controlled_id);
|
||||
var vis;
|
||||
// Show/hide the field
|
||||
|
|
|
@ -255,7 +255,7 @@ function setDefaultCheckbox(e, field_id)
|
|||
if (el && elLabel)
|
||||
{
|
||||
el.checked = "true";
|
||||
elLabel.style.fontWeight = bold;
|
||||
elLabel.style.fontWeight = 'bold';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue