File Genie PHP Support Product Page
Doesn't need answer
Confirm delete for File Genie
Asked 04 Sep 2012 12:40:42
1
has this question
04 Sep 2012 12:40:42 Willy Gelin posted:
Hi!Using File Genie with file delete, I need some kind of confirm before delete warning of security reasons.
How can I do that?
Thanks
Willy
Replies
Replied 04 Sep 2012 13:30:08
04 Sep 2012 13:30:08 Teodor Kuduschiev replied:
Hello Willy,
Unfortunately there is no way to do this in the current version of the extension.
Unfortunately there is no way to do this in the current version of the extension.
Replied 04 Sep 2012 16:22:30
04 Sep 2012 16:22:30 Willy Gelin replied:
Hello Teodor!
Do you mean impossible to do or not implemented?
People clicks pretty wildly around so there has to be some safety net.
/Willy
Do you mean impossible to do or not implemented?
People clicks pretty wildly around so there has to be some safety net.
/Willy
Replied 04 Sep 2012 18:46:36
04 Sep 2012 18:46:36 Teodor Kuduschiev replied:
Hello,
I mean it is not possible. I will discuss this suggestion with our developers.
I mean it is not possible. I will discuss this suggestion with our developers.
Replied 04 Sep 2012 21:28:55
04 Sep 2012 21:28:55 Willy Gelin replied:
Great!
Thank You
Willy
Thank You
Willy
Replied 07 Sep 2012 13:07:31
07 Sep 2012 13:07:31 Willy Gelin replied:
Some Google and this javascript came up, seemes to work fine.
and in the delete link
/Willy
<script type="text/javascript"><!-- function confirmDel(q){ if(confirm(q)){ return true; } return false; } //--></script>
and in the delete link
<a href="<?php echo $bildfilm->getDeleteLink(); ?>" onclick="return confirmDel('Do you want to delete <?php echo $bildfilm->folderList("fileName"); ?>?');"><input name="delete" type="submit" id="delete" style="font-size: 9px" value="DELETE" /></a>
/Willy
Replied 19 Nov 2012 15:53:25
19 Nov 2012 15:53:25 Jamie oates replied:
just what i was looking for, thx for the input Willy!
Replied 19 Nov 2012 17:31:20
19 Nov 2012 17:31:20 Willy Gelin replied:
Youre welcome Jamie