Commits

tmjee  committed e76aadc

- fixed sometimes many tabs get rendered when remote=true
- fixed on first load remote tab does get loaded

Issue number: WW-1295 WW-1325
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@2656573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 6113251

Comments (0)

Files changed (1)

File src/java/template/ajax/tab.ftl

-<div class="tab_contents_header" id="tab_contents_${parameters.id}">
+<div class="tab_contents_hidden" id="tab_contents_${parameters.id}">
     <div class="tab_contents"
          id="tab_contents_update_${parameters.id}"
     <#if parameters.remote?exists>
         <#if parameters.loadingText?if_exists != "">loadingHtml="${parameters.loadingText?html}"</#if>
             <#if parameters.errorText?if_exists != "">errorHtml="${parameters.errorText?html}"</#if>
                 <#if parameters.showErrorTransportText?exists>showTransportError='true'</#if>
-                    <#if parameters.delay?exists>delay='${parameters.delay}'</#if>
+                     delay='1'
                         <#if parameters.updateFreq?exists>refresh='${parameters.updateFreq}'</#if>
                             <#if parameters.listenTopics?exists>listenTopics='${parameters.listenTopics}'</#if>
                                 <#if parameters.afterLoading?exists>onLoad='${parameters.afterLoading}'</#if>