01-22-2016 09:41 AM
…
<div class="yui-u align-right">
<span id="${el}-clear-button-1" class="yui-button yui-push-button clear-icon">
<span class="first-child">
<button type="button">${msg('button.clear')}</button>
</span>
</span>
</div>
…
<div class="yui-u align-right">
<span id="${el}-clear-button-2" class="yui-button yui-push-button clear-icon">
<span class="first-child">
<button type="button">${msg('button.clear')}</button>
</span>
</span>
</div>
…
.search .clear-icon span.first-child
{
background: url(../images/delete-tag-off.png) no-repeat 12px 4px;
padding-left: 24px;
}
…
…
this.widgets.clearButton1 = Alfresco.util.createYUIButton(this, "clear-button-1", this.onClearClick);
this.widgets.clearButton2 = Alfresco.util.createYUIButton(this, "clear-button-2", this.onClearClick);
…
01-29-2016 12:14 PM
…
onClearClick: function ADVSearch_onClearClick(e, obj)
{
document.getElementById(this.currentForm.runtime.formId).reset();
document.getElementById(this.id + "-search-text").value = "";
}
…
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.