Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apex delete confirmation

SenyMar 25 2016 — edited Mar 29 2016

Hi All,

I'm trying to use a solution similar to below link in my apex 5.0 version

JQuery UI modal delete confirmation

Original issue was that application delete button confirmations not showing on firefox in ipad.

It always return false for below function.

function confirmDelete(msg,req){

  if(req==null){req='Delete'}

  var confDel = msg;

  if(confDel ==null){

  confDel= confirm("Would you like to perform this delete action?");

  }else{

  confDel= confirm(msg);}

  if (confDel==true){doSubmit(req);}

}

So I used above mentioned solution to overcome this issue. but there is one

issue I need to figure out. That is I have used below as delete button action in almost all the pages.

javascript:confirmDelete(htmldb_delete_message,'DELETE');

So can somebody suggest a way to call my modal function without changing this "confirmDelete" action name.


I know that it easy just to call my function like below.

javascript:confDialog();


but if I do so I'll have change delete button action in each and every page. I just need kind of method override solution.


Please let me know if you have any idea.


Thank you and Best regards

Seny

This post has been answered by Seny on Mar 29 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 26 2016
Added on Mar 25 2016
5 comments
3,147 views