forked from extern/egroupware
Replace old confirm() with new confirm dialog for filemanager app
This commit is contained in:
parent
19eb5f0d76
commit
0aa23fe1d3
@ -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>
|
||||
|
@ -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&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=""$row_cont[path]""/>
|
||||
</hbox>
|
||||
</row>
|
||||
|
Loading…
Reference in New Issue
Block a user