mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
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"/>
|
<menupopup id="${row}[rights]" readonly="true"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
<description id="${row}[path]"/>
|
<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>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<hbox align="right">
|
<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"/>
|
<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"/>
|
<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]""/>
|
<checkbox align="right" id="checked[]" options=""$row_cont[path]""/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
|
Loading…
Reference in New Issue
Block a user