Changed minwidth for context menus from 200 to 250px

This commit is contained in:
Andre Lorbach 2011-11-08 10:52:00 +01:00
parent 318b4f7c70
commit 484ca868dd
2 changed files with 4 additions and 2 deletions

View File

@ -59,7 +59,7 @@
left: 0px; /* to position them to the right of their containing block */ left: 0px; /* to position them to the right of their containing block */
width: auto; width: auto;
min-width: 200px; /* workaround for FF */ min-width: 250px; /* workaround for FF */
height: 16px; height: 16px;
} }

View File

@ -918,8 +918,10 @@ function AddOnClickMenu(&$fieldGridItem, $fieldType, $FieldID)
$szFieldDisplayName = $FieldID; $szFieldDisplayName = $FieldID;
// Set FieldSearch Value // Set FieldSearch Value
if ( $fieldType == FILTER_TYPE_STRING) if ( $fieldType == FILTER_TYPE_STRING && isset($fieldGridItem['encodedfieldvalue']) )
{
$szEncodedFieldValue = urlencode($fieldGridItem['encodedfieldvalue']); $szEncodedFieldValue = urlencode($fieldGridItem['encodedfieldvalue']);
}
else else
$szEncodedFieldValue = $fieldGridItem['fieldvalue']; $szEncodedFieldValue = $fieldGridItem['fieldvalue'];