Author: jleroux
Date: Sun Oct 3 13:16:00 2010
New Revision: 1003960
URL:
http://svn.apache.org/viewvc?rev=1003960&view=revLog:
Replaces last
<a href="javascript:$
by
<a href="javascript:document.getElementById
I forgot to save changes made by hand :/
Modified:
ofbiz/branches/jquery/applications/content/webapp/content/survey/EditSurveyQuestions.ftl
ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl
Modified: ofbiz/branches/jquery/applications/content/webapp/content/survey/EditSurveyQuestions.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/jquery/applications/content/webapp/content/survey/EditSurveyQuestions.ftl?rev=1003960&r1=1003959&r2=1003960&view=diff==============================================================================
--- ofbiz/branches/jquery/applications/content/webapp/content/survey/EditSurveyQuestions.ftl (original)
+++ ofbiz/branches/jquery/applications/content/webapp/content/survey/EditSurveyQuestions.ftl Sun Oct 3 13:16:00 2010
@@ -123,7 +123,7 @@ under the License.
<input type="hidden" name="surveyId" value="${surveyQuestionAndAppl.surveyId}" />
<input type="hidden" name="surveyQuestionId" value="${surveyQuestionAndAppl.surveyQuestionId}" />
<input type="hidden" name="fromDate" value="${surveyQuestionAndAppl.fromDate}" />
- <a href="javascript:$('removeSurveyQuestion_${surveyQuestionAndAppl.surveyQuestionId}').submit();"" class="buttontext">${uiLabelMap.CommonRemove}</a>
+ <a href="javascript:document.getElementById('removeSurveyQuestion_${surveyQuestionAndAppl.surveyQuestionId}').submit();"" class="buttontext">${uiLabelMap.CommonRemove}</a>
</form>
</td>
</tr>
Modified: ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl?rev=1003960&r1=1003959&r2=1003960&view=diff==============================================================================
--- ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl (original)
+++ ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl Sun Oct 3 13:16:00 2010
@@ -63,7 +63,7 @@ under the License.
<textarea class="textAreaBox" name="productReview" cols="40"></textarea>
</div>
<div>
- <a href="javascript:$('reviewProduct').submit();" class="button">[${uiLabelMap.CommonSave}]</a>
+ <a href="javascript:document.getElementById('reviewProduct').submit();" class="button">[${uiLabelMap.CommonSave}]</a>
<a href="<@ofbizUrl>product?product_id=${requestParameters.product_id}</@ofbizUrl>" class="button">[${uiLabelMap.CommonCancel}]</a>
</div>
</fieldset>