Replace old confirm() with new confirm dialog for filemanager app

This commit is contained in:
Hadi Nategh 2013-12-05 11:20:20 +00:00
parent 19eb5f0d76
commit 0aa23fe1d3
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@
<menupopup id="${row}[rights]" readonly="true"/>
</menulist>
<description id="${row}[path]"/>
<button label="Delete" id="delete[$row_cont[ino]-$row_cont[owner]]" onclick="return confirm('Delete this extended ACL');" image="delete"/>
<button label="Delete" id="delete[$row_cont[ino]-$row_cont[owner]]" onclick="et2_dialog.confirm(widget,'Delete this extended ACL','Delete')" image="delete"/>
</row>
</rows>
</grid>

View File

@ -47,7 +47,7 @@
<hbox align="right">
<button statustext="Rename, change permissions or ownership" label="Edit settings" id="edit[$row_cont[path]]" onclick="window.open(egw::link('/index.php','menuaction=filemanager.filemanager_ui.file&amp;path=$row_cont[path]'),'fileprefs','dependent=yes,width=495,height=425,scrollbars=yes,status=yes'); return false;" image="edit"/>
<buttononly align="center" id="mail[$row_cont[path]]" onclick="open_mail('$row_cont[path]'); return false;" options="mail_post_to"/>
<button align="center" statustext="Delete this file or directory" label="Delete" id="delete[$row_cont[path]]" onclick="return confirm('Delete this file or directory');" image="delete"/>
<button align="center" statustext="Delete this file or directory" label="Delete" id="delete[$row_cont[path]]" onclick="et2_dialog.confirm(widget,'Delete this file or directory','Delete')" image="delete"/>
<checkbox align="right" id="checked[]" options="&quot;$row_cont[path]&quot;"/>
</hbox>
</row>