Fix JS error created by f713af
This commit is contained in:
parent
2cf20fcf44
commit
ed7f899361
@ -2274,9 +2274,9 @@ function fillRec(id,value) {
|
|||||||
function deleteAttribute(attrName,friendlyName,i)
|
function deleteAttribute(attrName,friendlyName,i)
|
||||||
{
|
{
|
||||||
if (confirm("'._('Really delete value from attribute').' \'" + friendlyName + "\'?")) {
|
if (confirm("'._('Really delete value from attribute').' \'" + friendlyName + "\'?")) {
|
||||||
document.getElementById(\'delete_attribute_form\'.attr.value = attrName;
|
document.getElementById(\'delete_attribute_form\').attr.value = attrName;
|
||||||
document.getElementById(\'delete_attribute_form\'.index.value = i;
|
document.getElementById(\'delete_attribute_form\').index.value = i;
|
||||||
document.getElementById(\'delete_attribute_form\'.submit();
|
document.getElementById(\'delete_attribute_form\').submit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>';
|
</script>';
|
||||||
|
Loading…
Reference in New Issue
Block a user