svn commit: r1610420 - in /ofbiz/trunk/framework/webtools/webapp/webtools: WEB-INF/actions/service/AvailableServices.groovy 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: r1610420 - in /ofbiz/trunk/framework/webtools/webapp/webtools: WEB-INF/actions/service/AvailableServices.groovy service/availableservices.ftl

jacopoc
Author: jacopoc
Date: Mon Jul 14 14:51:52 2014
New Revision: 1610420

URL: http://svn.apache.org/r1610420
Log:
Removed useless, old and incomplete code: OFBIZ-4740 Un-necessary Drop Down in Web Tools Service Reference page

Modified:
    ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
    ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl

Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy?rev=1610420&r1=1610419&r2=1610420&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy Mon Jul 14 14:51:52 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/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl?rev=1610420&r1=1610419&r2=1610420&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl Mon Jul 14 14:51:52 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">