Author: jleroux
Date: Sun Sep 26 10:07:23 2010
New Revision: 1001401
URL:
http://svn.apache.org/viewvc?rev=1001401&view=revLog:
I have to find real bottlenecks before using waitSpinnerShow/Hide
Modified:
ofbiz/branches/jquery/framework/common/webcommon/includes/setMultipleSelectJs.ftl
Modified: ofbiz/branches/jquery/framework/common/webcommon/includes/setMultipleSelectJs.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/common/webcommon/includes/setMultipleSelectJs.ftl?rev=1001401&r1=1001400&r2=1001401&view=diff==============================================================================
--- ofbiz/branches/jquery/framework/common/webcommon/includes/setMultipleSelectJs.ftl (original)
+++ ofbiz/branches/jquery/framework/common/webcommon/includes/setMultipleSelectJs.ftl Sun Sep 26 10:07:23 2010
@@ -19,8 +19,7 @@ under the License.
<#if asm_multipleSelect?exists> <#-- we check only this var and suppose the others are also present -->
<script type="text/javascript">
jQuery(document).ready(function() {
- waitSpinnerShow();
- multiple = jQuery("#${asm_multipleSelect?if_exists}");
+ multiple = jQuery("#${asm_multipleSelect?if_exists}");
<#if asm_title?exists>
// set the dropdown "title" if exists
@@ -41,13 +40,10 @@ jQuery(document).ready(function() {
typeValue = jQuery('#${asm_typeField}').val();
selectMultipleRelatedValues('${asm_requestName}', '${asm_paramKey}', '${asm_relatedField}', '${asm_multipleSelect}', '${asm_type}', typeValue, '${asm_responseName}');
jQuery("#${asm_relatedField}").bind('change focus', function() {
- waitSpinnerShow();
selectMultipleRelatedValues('${asm_requestName}', '${asm_paramKey}', '${asm_relatedField}', '${asm_multipleSelect}', '${asm_type}', typeValue, '${asm_responseName}');
- waitSpinnerHide();
});
</#if>
});
- waitSpinnerHide();
</script>
<style type="text/css">