Author: erwan
Date: Sat Jan 7 19:18:10 2012 New Revision: 1228702 URL: http://svn.apache.org/viewvc?rev=1228702&view=rev Log: typo dimention --> dimension Modified: ofbiz/trunk/applications/product/webapp/catalog/imagemanagement/ImageFrame.ftl ofbiz/trunk/applications/product/webapp/catalog/imagemanagement/ImageWatermark.ftl ofbiz/trunk/applications/product/widget/catalog/ImageManagementForms.xml Modified: ofbiz/trunk/applications/product/webapp/catalog/imagemanagement/ImageFrame.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/imagemanagement/ImageFrame.ftl?rev=1228702&r1=1228701&r2=1228702&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/imagemanagement/ImageFrame.ftl (original) +++ ofbiz/trunk/applications/product/webapp/catalog/imagemanagement/ImageFrame.ftl Sat Jan 7 19:18:10 2012 @@ -27,14 +27,14 @@ under the License. var width = jQuery('td.image-src img').width(); var height = jQuery('td.image-src img').height(); jQuery('td.image-src img').css("width", 200); - var dimention = width + " x " + height + " pixels"; - jQuery('td.dimention').text(dimention); + var dimension = width + " x " + height + " pixels"; + jQuery('td.dimension').text(dimension); var widthFrame = jQuery('td.image-fr img').width(); var heightFrame = jQuery('td.image-fr img').height(); jQuery('td.image-fr img').css("width", 200); - var dimentionFrame = widthFrame + " x " + heightFrame + " pixels"; - jQuery('td.frameDimention').text(dimentionFrame); + var dimensionFrame = widthFrame + " x " + heightFrame + " pixels"; + jQuery('td.frameDimension').text(dimensionFrame); }); function setTargetWindows(target) { if ((target == "upload") || (target == "choose")) { Modified: ofbiz/trunk/applications/product/webapp/catalog/imagemanagement/ImageWatermark.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/imagemanagement/ImageWatermark.ftl?rev=1228702&r1=1228701&r2=1228702&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/imagemanagement/ImageWatermark.ftl (original) +++ ofbiz/trunk/applications/product/webapp/catalog/imagemanagement/ImageWatermark.ftl Sat Jan 7 19:18:10 2012 @@ -90,7 +90,7 @@ under the License. jQuery('#ImageWatermarking_previewCount').attr('value', next); }); } - function setImageDimention() { + function setImageDimension() { var productId = jQuery('#ImageWatermarking_productId').val(); var imageName = jQuery('#ImageWatermarking_imageName').val(); var positionX = jQuery('#ImageWatermarking_positionX').val(); Modified: ofbiz/trunk/applications/product/widget/catalog/ImageManagementForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ImageManagementForms.xml?rev=1228702&r1=1228701&r2=1228702&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/ImageManagementForms.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/ImageManagementForms.xml Sat Jan 7 19:18:10 2012 @@ -410,10 +410,10 @@ under the License. <field name="imageName"><hidden value="${contentDataResource.drDataResourceName}"/></field> <field name="imageShare" use-when="imageURL != null" title="${uiLabelMap.CommonImage}" widget-area-style="image-src"><image value="${imageURL}"/></field> <field name="imageShare" use-when="imageURL == null" title="${uiLabelMap.CommonImage}"><image value="/images/defaultImage.jpg" width="200"/></field> - <field name="imageDimention" widget-area-style="dimention"><display/></field> + <field name="imageDimension" widget-area-style="dimension"><display/></field> <field name="imageFrame" use-when="frameURL != null" title="${uiLabelMap.ImageManagementFrame}" widget-area-style="image-fr"><image value="${frameURL}"/></field> <field name="imageFrame" use-when="frameURL == null" title="${uiLabelMap.ImageManagementFrame}" widget-area-style="image-fr"><image value="/images/defaultImage.jpg" width="200"/></field> - <field name="frameDimention" use-when="frameURL != null" widget-area-style="frameDimention"><display/></field> + <field name="frameDimension" use-when="frameURL != null" widget-area-style="frameDimension"><display/></field> <field name="uploadedFile" title="${uiLabelMap.ImageManagementUploadNewFrame}" event="onClick" action="javascript:setUploadTarget('_self');"><file/></field> <field name="uploadButton" title="${uiLabelMap.CommonUpload}" widget-style="smallSubmit" event="onClick" action="javascript:document.ImageFrames.setAttribute('enctype', 'multipart/form-data');setTargetWindows('upload');document.ImageFrames.submit();"><submit button-type="button"/></field> <field name="imageFrameContentId" title="${uiLabelMap.ImageManagementChooseExistFrame}"><lookup target-form-name="LookupImageFrame"/></field> @@ -486,7 +486,7 @@ under the License. </entity-options> </drop-down> </field> - <field name="submitButton" title="${uiLabelMap.CommonSubmit}" event="onClick" action="javascript:setImageDimention()" widget-style="smallSubmit" ><submit button-type="button"/></field> + <field name="submitButton" title="${uiLabelMap.CommonSubmit}" event="onClick" action="javascript:setImageDimension()" widget-style="smallSubmit" ><submit button-type="button"/></field> <field name="cancelButton" title=" " widget-style="buttontext" event="onClick" action="javascript:deletePreviewWatermarkImage();"> <hyperlink target="ListImageManage" description="${uiLabelMap.CommonCancel}"> <parameter param-name="productId" from-field="parameters.productId"/> |
Free forum by Nabble | Edit this page |