bug [structure] Missing validation for BINARY and VARBINARY

This commit is contained in:
Marc Delisle
2009-09-04 16:39:03 +00:00
parent ced55c3d05
commit 361bc35f67
2 changed files with 2 additions and 1 deletions

View File

@@ -707,7 +707,7 @@ function checkTableEditForm(theForm, fieldsCnt)
{
id = "field_" + i + "_2";
elm = getElement(id);
if (elm.value == 'VARCHAR' || elm.value == 'CHAR' || elm.value == 'BIT') {
if (elm.value == 'VARCHAR' || elm.value == 'CHAR' || elm.value == 'BIT' || elm.value == 'VARBINARY' || elm.value == 'BINARY') {
elm2 = getElement("field_" + i + "_3");
val = parseInt(elm2.value);
elm3 = getElement("field_" + i + "_1");