Jump to content
  • 0

Disable Delete Pop Up Confirmation Page


Master

Question

2 answers to this question

Recommended Posts

  • 0
On 1/29/2016 at 11:28 AM, Master said:

How can I disable delete pop up confirmation page? I do not want this pop up in my details page.

I see that this post is old, however if someone else wants to do the same, you may use the script below:

<script type="text/javascript">

function to_confirm()
{
var alertWindow = document.getElementsByClassName("Alert")[0];
alertWindow.getElementsByTagName("input")[2].click();
}

document.getElementById("Mod0DeleteRecord").onclick=function to_delete()
{

setTimeout(to_confirm,1000);
}
 
</script>

 

Link to comment
Share on other sites

  • 0
On 4/12/2017 at 4:39 PM, Mathilda said:

I see that this post is old, however if someone else wants to do the same, you may use the script below:

<script type="text/javascript">

function to_confirm()
{
var alertWindow = document.getElementsByClassName("Alert")[0];
alertWindow.getElementsByTagName("input")[2].click();
}

document.getElementById("Mod0DeleteRecord").onclick=function to_delete()
{

setTimeout(to_confirm,1000);
}
 
</script>

 

I know this post is old but, I put this code in my footer but it doesn't appear to be working. Any reasons why it wouldn't be working. Or is it just from to long ago?


 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...