Page 1 of 1

New SVN trunk 3006 call menu issue

PostPosted: Sat Jul 14, 2018 1:28 am
by samadsaeed
Hello, I have observed that during last few updates call menu page is having issues. i'm unable to open the audio chooser page by clicking the link on only that specific page and while selecting the call menu options, the fields donot dynamically appear like in previous versions when we select ingroup or DID. I have tried on both Scratch installs and vicibox installations. I hope this can be looked after. thanks.

Re: New SVN trunk 3006 call menu issue

PostPosted: Sat Jul 14, 2018 7:42 am
by mflorell
What web browser and version are you using to access this page?

What is your workstation Operating System and version?

Re: New SVN trunk 3006 call menu issue

PostPosted: Sat Jul 14, 2018 10:21 am
by thephaseusa
I’m experiencing the same issue with Revision 3004. It’s not hard to overcome you just put the name of the wav file in the Menu Prompt blank click submit and the change works. But when I click on audio chooser nothing happens except at the bottom of the screen I see this:

JavaScript:launch_chooser(‘menu_prompt’,’date’,100);

Audio chooser works everywhere else, just not Modify A Call Menu Record.

John M

Re: New SVN trunk 3006 call menu issue

PostPosted: Sat Jul 14, 2018 10:47 am
by samadsaeed
i'm using windows 10 and browsers are google (latest) chrome and firefox. thephaseusa is correct, i can enter the audio file name and it works but the issue is when building large call menus it takes time as i have to click submit and then the options appear again. if it could get fixed some of the time can be saved :) please be noted when i access the other servers which are on older SVN trunk dont have this issue on the same browsers.

Re: New SVN trunk 3006 call menu issue

PostPosted: Mon Jul 16, 2018 8:05 pm
by jjohnson78
Looks like a simple bug in admin_header.php - just go to line 1024 and remove the quote after 'date' near the end of the line (see the red text below) - worked on the callmenu page I was using:

new_content = new_content + "<BR> &nbsp; <?php echo _QXZ("VID Enter Filename"); ?>: <input type=text name=IGvid_enter_filename_" + option + " id=IGvid_enter_filename_" + option + " size=40 maxlength=255 value=\"" + IGvid_enter_filename + "\"> <a href=\"javascript:launch_chooser('IGvid_enter_filename_" + option + "','date'");\"><?php echo _QXZ("audio chooser"); ?></a>";

Re: New SVN trunk 3006 call menu issue

PostPosted: Mon Jul 16, 2018 8:17 pm
by williamconley
jjohnson78 wrote:Looks like a simple bug in admin_header.php - just go to line 1024 and remove the quote after 'date' near the end of the line (see the red text below) - worked on the callmenu page I was using:

new_content = new_content + "<BR> &nbsp; <?php echo _QXZ("VID Enter Filename"); ?>: <input type=text name=IGvid_enter_filename_" + option + " id=IGvid_enter_filename_" + option + " size=40 maxlength=255 value=\"" + IGvid_enter_filename + "\"> <a href=\"javascript:launch_chooser('IGvid_enter_filename_" + option + "','date'");\"><?php echo _QXZ("audio chooser"); ?></a>";


1) Great postback

2) You should post this on the Vicidial Tracker

http://www.vicidial.org/VICIDIALmantis/my_view_page.php

Re: New SVN trunk 3006 call menu issue

PostPosted: Mon Jul 16, 2018 8:25 pm
by mflorell
This fix has been committed to svn/trunk.

Re: New SVN trunk 3006 call menu issue

PostPosted: Mon Jul 16, 2018 9:42 pm
by thephaseusa
Thanks, fixed.

Re: New SVN trunk 3006 call menu issue

PostPosted: Tue Jul 17, 2018 4:03 pm
by samadsaeed
Thank You. Just installed a system with vicibox8.iso and its working now. Thank u again :)