This topic is locked

Disable delete pop up warning

3/7/2016 5:07:16 PM
PHPRunner General questions
L
Lofty author

Hi Sergey,
Is there a way to disable the pop up warning that comes up before deleting multiple records on a list page? I found that after the second time it popped up it gave me the option to prevent the message from appearing again. Having selected that option I could no longer delete any records because the confirmation button on the (now disabled) pop-up of course did not appear! I had to restart my browser to reset the message. Same both on IE and Chrome.
I did find a post from 2007 showing how to delete this from the html visual editor for the list page but in 8.1 it is not there.
Using PHPR 8.1
Thanks in advance

Admin 3/8/2016

You can modify C:\Program Files (x86)\PHPRunner8.1\source\include\common\runnerJS\pages\ListPage.js file for this purpose.
Here is the current code:

if ( !$selBoxes.length || !confirm( Runner.lang.constants.TEXT_DELETE_CONFIRM ) ) {

return false;

}


Here is how you need to change it:

if ( !$selBoxes.length ) {

return false;

}