Author: lektran
Date: Sat Jul 4 13:44:04 2009
New Revision: 791128
URL:
http://svn.apache.org/viewvc?rev=791128&view=revLog:
Fix another link that's using javascript directly
Modified:
ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml
Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml?rev=791128&r1=791127&r2=791128&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml Sat Jul 4 13:44:04 2009
@@ -280,7 +280,7 @@
<if-compare field="hasUpdatePermission" operator="equals" value="true"/>
</and>
</condition>
- <link target="javascript:confirmActionLink('Are you sure you want to close this project?','updateProject')" url-mode="plain">
+ <link target="updateProject" request-confirmation="true" confirmation-message="Are you sure you want to close this project?">
<parameter param-name="workEffortId" from-field="parameters.projectId"/>
<parameter param-name="currentStatusId" value="PRJ_CLOSED"/>
</link>