Fixes to Office add-in tagging for IE6

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8026 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mike Hatfield
2008-01-21 10:07:26 +00:00
parent 5e933c75b9
commit 0df2f7447d
2 changed files with 3 additions and 11 deletions

View File

@@ -77,7 +77,7 @@
<td>
<#if d.properties.categories?exists>
<#list d.properties.categories as category>
${companyhome.nodeByReference[category].name};
${category.name}<#if category != d.properties.categories?last>,</#if>
</#list>
<#else>
None.
@@ -115,7 +115,7 @@
<form id="addTagForm" action="#" onsubmit="return OfficeDocDetails.addTag('${d.id}', this.tag.value);">
<fieldset class="addTagFieldset">
<input id="addTagBox" name="tag" type="text" />
<input class="addTagImage" type="image" src="${url.context}/images/office/action_successful.gif" onclick="return (document.addTagForm.tag.value.length > 0);" />
<input class="addTagImage" type="image" src="${url.context}/images/office/action_successful.gif" onclick="return ($('addTagBox').value.length > 0);" />
<input class="addTagImage" type="image" src="${url.context}/images/office/action_failed.gif" onclick="return OfficeDocDetails.hideAddTagForm();" />
</fieldset>
</form>

View File

@@ -43,15 +43,7 @@ var OfficeDocDetails =
setupTags: function()
{
var tags = $$('#panelTags .tagName');
tags.each(function(tag, i)
{
tag.addEvent('click', function(e)
{
window.location.href = window.serviceContextPath + "/office/tags?p=" + window.queryObject.p + "&tag=" + encodeURI(tag.innerHTML);
});
});
// Placeholder
},
showAddTagForm: function()