fix 2 small js bugs

3col
Vitaliy Filippov 2015-01-14 09:46:47 +03:00
parent bdcc54eaa4
commit 8620bc567d
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -255,7 +255,7 @@ function setDefaultCheckbox(e, field_id)
if (el && elLabel)
{
el.checked = "true";
elLabel.style.fontWeight = bold;
elLabel.style.fontWeight = 'bold';
}
}