Commit bdb2e904 authored by Nigel McNie's avatar Nigel McNie
Browse files

Make the help for the tags control appear on one line. Also reduced the...

Make the help for the tags control appear on one line. Also reduced the default length of the tags control.
parent c1cd1097
......@@ -623,14 +623,16 @@ function augment_tags_control(elem, returnContainer) {
});
});
});
if (typeof(returnContainer) == 'boolean' && returnContainer) {
return tagContainer;
}
var help = getFirstElementByTagAndClassName('span', 'help', elem.parentNode);
var newNode = DIV();
swapDOM(elem, newNode);
appendChildNodes(newNode, tagContainer, elem);
appendChildNodes(newNode, tagContainer, elem, ' ', help);
};
function quotaUpdate(quotaused, quota) {
......
......@@ -53,7 +53,7 @@ function pieform_element_tags(Pieform $form, $element) {
}
if (!isset($element['size'])) {
$element['size'] = 70;
$element['size'] = 60;
}
$smarty->assign('name', $element['name']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment