Clear script campaign option

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Clear script campaign option

Postby dspaan » Thu Jan 04, 2018 3:27 am

I don't understand what this option does exactly:

Clear Script -This option if enabled will clear the agent SCRIPT tab after a call has been dispositioned by the agent. Default is DISABLED.

If i set this to enabled and test this on a campaign, after i have dispositioned a call i still get to see this:

Image

I would expect this info not to be displayed after the call is done or do i not understand what this feature does?

I also found this issue: http://www.vicidial.org/VICIDIALmantis/view.php?id=223
But do not know if it's related.


Version: 2.14b0.5
SVN Version: 2837
DB Schema Version: 1521
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Clear script campaign option

Postby blackbird2306 » Thu Jan 04, 2018 8:52 am

The option "Clear Script" clears only "SCRIPT" tab after a call has dispositioned by agent. But your screencap shows "FORM" tab, which is not the same!
According to the source code it's "ScriptContents" and not "FormContents":
Code: Select all
if (clear_script == 'ENABLED')
   {document.getElementById("ScriptContents").innerHTML = '';}

If it's important for you that "FORM" tab gets also cleared then try this here. Without guarantee that it works, because I didn't test it myself.
Make changes in vicidial.php about line 13539 (Revision 2887):
Code: Select all
if (clear_script == 'ENABLED')
   {document.getElementById("ScriptContents").innerHTML = '';
    document.getElementById("FormContents").innerHTML = '';}
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Clear script campaign option

Postby mflorell » Fri Jan 05, 2018 2:57 pm

That screenshot shows the FORM tab, not the SCRIPT tab. I have tested this feature and it works just fine.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 112 guests

cron