mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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>
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user