svn commit: r1610421 - in /ofbiz/branches/release13.07: ./ framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy framework/webtools/webapp/webtools/service/availableservices.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1610421 - in /ofbiz/branches/release13.07: ./ framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy framework/webtools/webapp/webtools/service/availableservices.ftl

jacopoc
Author: jacopoc
Date: Mon Jul 14 14:52:31 2014
New Revision: 1610421

URL: http://svn.apache.org/r1610421
Log:
Applied fix from trunk for revision: 1610420
===

Removed useless, old and incomplete code: OFBIZ-4740 Un-necessary Drop Down in Web Tools Service Reference page


Modified:
    ofbiz/branches/release13.07/   (props changed)
    ofbiz/branches/release13.07/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
    ofbiz/branches/release13.07/framework/webtools/webapp/webtools/service/availableservices.ftl

Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1610420

Modified: ofbiz/branches/release13.07/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy?rev=1610421&r1=1610420&r2=1610421&view=diff
==============================================================================
--- ofbiz/branches/release13.07/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy (original)
+++ ofbiz/branches/release13.07/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy Mon Jul 14 14:52:31 2014
@@ -337,8 +337,6 @@ context.dispArrList = dispArrList;
 uiLabelMap = UtilProperties.getResourceBundleMap("WebtoolsUiLabels", locale);
 uiLabelMap.addBottomResourceBundle("CommonUiLabels");
 
-selDisp = parameters.selDisp ?: "webtools";
-
 curDispatchContext = dispatcher.getDispatchContext();
 context.dispatcherName = dispatcher.getName();
 

Modified: ofbiz/branches/release13.07/framework/webtools/webapp/webtools/service/availableservices.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/framework/webtools/webapp/webtools/service/availableservices.ftl?rev=1610421&r1=1610420&r2=1610421&view=diff
==============================================================================
--- ofbiz/branches/release13.07/framework/webtools/webapp/webtools/service/availableservices.ftl (original)
+++ ofbiz/branches/release13.07/framework/webtools/webapp/webtools/service/availableservices.ftl Mon Jul 14 14:52:31 2014
@@ -336,34 +336,13 @@ under the License.
 
   <#-- Show alphabetical index -->
   <#if serviceNamesAlphaList?exists && serviceNamesAlphaList?has_content>
-    <form id='dispForm' method='post' action='<@ofbizUrl>${url}</@ofbizUrl>'>
       <div class="button-bar">
         <#assign isfirst=true>
         <#list serviceNamesAlphaList as alpha>
           <a href='<@ofbizUrl>${url}?constraint=alpha@${alpha}</@ofbizUrl>'>${alpha}</a>
           <#assign isfirst=false>
         </#list>
-        <#if dispArrList?exists && dispArrList?has_content>
-          &nbsp;&nbsp;&nbsp;&nbsp;
-          <script language='javascript' type='text/javascript'>
-            function submitDispForm(){
-                selObj = document.getElementById('sd');
-                var dispVar = selObj.options[selObj.selectedIndex].value;
-                if(dispVar != ''){
-                    document.getElementById('dispForm').submit();
-                }
-            }
-          </script>
-          <select id='sd' name='selDisp' onchange='submitDispForm();'>
-            <option value='' selected="selected">${uiLabelMap.WebtoolsSelectDispatcher}</option>
-            <option value='' ></option>
-            <#list dispArrList as disp>
-              <option value='${disp}'>${disp}</option>
-            </#list>
-          </select>
-        </#if>
       </div>
-    </form>
   </#if>
 
   <div class="screenlet">