BUG 10957 "Feature request - Limit input document..." SOLVED

This commit is contained in:
Luis Fernando Saisa Lopez
2014-09-18 17:51:21 -04:00
parent af175a71ab
commit 6d26e2aa25
2 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
<td colspan="2">{$form.fileTypes}</td>
</tr>
<tr>
<tr style="display: none;">
<td class="FormLabel" width="{$form_labelWidth}">{$INP_DOC_MAX_FILESIZE_LABEL}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.INP_DOC_MAX_FILESIZE_LABEL}</td>
</tr>

View File

@@ -37,8 +37,8 @@ leimnud.event.add(window, 'load', function() {
}
});
if (getField("INP_DOC_MAX_FILESIZE").value == 0 || getField("INP_DOC_MAX_FILESIZE").value == "") {
hideRow("INP_DOC_MAX_FILESIZE_LABEL");
if (getField("INP_DOC_MAX_FILESIZE").value != "" && parseInt(getField("INP_DOC_MAX_FILESIZE").value) > 0) {
showRow("INP_DOC_MAX_FILESIZE_LABEL");
}
var verifyInfo = function(oForm)