You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2010/06/12 15:09:14 UTC

svn commit: r954001 - /ofbiz/branches/release10.04/framework/widget/templates/htmlFormMacroLibrary.ftl

Author: lektran
Date: Sat Jun 12 13:09:14 2010
New Revision: 954001

URL: http://svn.apache.org/viewvc?rev=954001&view=rev
Log:
Merged from trunk r940245:
Fixed a problem with the Ajax auto-completer code. Empty src attribute in an img element causes some browsers to load the page more than once.

Modified:
    ofbiz/branches/release10.04/framework/widget/templates/htmlFormMacroLibrary.ftl

Modified: ofbiz/branches/release10.04/framework/widget/templates/htmlFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/framework/widget/templates/htmlFormMacroLibrary.ftl?rev=954001&r1=954000&r2=954001&view=diff
==============================================================================
--- ofbiz/branches/release10.04/framework/widget/templates/htmlFormMacroLibrary.ftl (original)
+++ ofbiz/branches/release10.04/framework/widget/templates/htmlFormMacroLibrary.ftl Sat Jun 12 13:09:14 2010
@@ -449,7 +449,7 @@ ${item.description}</span>
  </#list>
 </#if>
 );">
-<#if ajaxEnabled?has_content && ajaxEnabled><span id="${id}_indicator" style="display: none" class="indicator"><img src="" alt=""/></span></#if>
+<#if ajaxEnabled?has_content && ajaxEnabled><span id="${id}_indicator" style="display: none" class="indicator"><img src="/images/ajax-loader.gif" alt=""/></span></#if>
 </a><#rt>
 <#if disabled?has_content && disabled><a id="${id}_clear" style="background:none;margin-left:5px;margin-right:15px;" class="clearField" href="javascript:void();" onclick="javascript:document.${formName}.${name}.value='';<#if descriptionFieldName?has_content>document.${formName}.${descriptionFieldName}.value='';</#if>">${clearText}</a></#if>
 </span>