Added INSERT_first_onload variable to vicidial.php

git-svn-id: svn://192.168.202.10@2974 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2018-04-26 02:25:50 +00:00
parent cb840a9a76
commit 6d0598c58c
2 changed files with 9 additions and 4 deletions
+3 -1
View File
@@ -14,6 +14,7 @@
# 160619-1010 - Added link_to_grey_version option
# 160910-1317 - Added use_agent_colors option
# 180223-1657 - Added $INSERT_ variables
# 180425-2035 - Added #INSERT_first_onload variable
#
$conf_silent_prefix = '5'; # vicidial_conferences prefix to enter silently and muted for recording
@@ -77,7 +78,8 @@ $win_valid_name = 'subwindow_launch'; # only window name to allow if validatio
$INSERT_head_script = ''; # inserted right above the <script language="Javascript"> line after logging in
$INSERT_head_js = ''; # inserted after first javascript function
$INSERT_window_onload = ''; # inserted within the onload function
$INSERT_first_onload = ''; # inserted at the beginning of the first section of the onload function
$INSERT_window_onload = ''; # inserted at the end of the onload function
$INSERT_agent_events = ''; # inserted within the agent_events function
+6 -3
View File
@@ -592,10 +592,11 @@
# 180405-0913 - Fix for API Hangup after dial timeout
# 180410-1629 - Added Pause Code manager approval feature, Added switch_lead logging
# 180421-0754 - Moved AGENT TIME link and Dialable Leads display to not overlap
# 180425-2036 - Added INSERT_first_onload variable
#
$version = '2.14-562c';
$build = '180421-0754';
$version = '2.14-563c';
$build = '180425-2036';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=87;
$one_mysql_log=0;
@@ -831,7 +832,8 @@ $win_valid_name = 'subwindow_launch'; # only window name to allow if validatio
$INSERT_head_script = ''; # inserted right above the <script language="Javascript"> line after logging in
$INSERT_head_js = ''; # inserted after first javascript function
$INSERT_window_onload = ''; # inserted within the onload function
$INSERT_first_onload = ''; # inserted at the beginning of the first section of the onload function
$INSERT_window_onload = ''; # inserted at the end of the onload function
$INSERT_agent_events = ''; # inserted within the agent_events function
# if options file exists, use the override values for the above variables
@@ -17259,6 +17261,7 @@ function phone_number_format(formatphone) {
function begin_all_refresh()
{
<?php if ( ($HK_statuses_camp > 0) && ($user_level>=$HKuser_level) && ($VU_hotkeys_active > 0) ) {echo "document.onkeypress = hotkeypress;\n";} ?>
<?php echo $INSERT_first_onload; ?>
all_refresh();
}
function start_all_refresh()