You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2015/12/21 06:09:06 UTC
svn commit: r1721089 - in /ofbiz/trunk/framework/webtools:
config/WebtoolsUiLabels.xml webapp/webtools/entity/ListGeneric.ftl
Author: deepak
Date: Mon Dec 21 05:09:06 2015
New Revision: 1721089
URL: http://svn.apache.org/viewvc?rev=1721089&view=rev
Log:
(OFBIZ-6525) Add confirmation message before deleting entity record from web-tools application.
Modified:
ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
ofbiz/trunk/framework/webtools/webapp/webtools/entity/ListGeneric.ftl
Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1721089&r1=1721088&r2=1721089&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml (original)
+++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Mon Dec 21 05:09:06 2015
@@ -1266,6 +1266,9 @@
<value xml:lang="zh">é
ç½®</value>
<value xml:lang="zh-TW">é
ç½®</value>
</property>
+ <property key="WebtoolsConfirmDelete">
+ <value xml:lang="en">Are you sure you want to delete?</value>
+ </property>
<property key="WebtoolsCount">
<value xml:lang="de">Anzahl</value>
<value xml:lang="en">Count</value>
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/entity/ListGeneric.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/entity/ListGeneric.ftl?rev=1721089&r1=1721088&r2=1721089&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/entity/ListGeneric.ftl (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/entity/ListGeneric.ftl Mon Dec 21 05:09:06 2015
@@ -34,7 +34,7 @@ under the License.
<td class="button-col">
<a href='<@o...@ofbizUrl>'>${uiLabelMap.CommonView}</a>
<#if hasDeletePermission == 'Y'>
- <a href='<@o...@ofbizUrl>'>${uiLabelMap.CommonDelete}</a>
+ <a onclick="return confirm ('${uiLabelMap.WebtoolsConfirmDelete}')" href='<@o...@ofbizUrl>'>${uiLabelMap.CommonDelete}</a>
</#if>
</td>
<#list fieldList as field>