Operator Panel: JS fix to restore functionality in Chrome and IE, Reduce font size and change font of auto-complete suggestion list.
Minimized Template: Similar JS fix for Chrome and IE.
This commit is contained in:
parent
fb1ace1d07
commit
8ca1d1a910
|
|
@ -218,7 +218,8 @@ require_once "resources/header.php";
|
||||||
}
|
}
|
||||||
|
|
||||||
//call or transfer to destination
|
//call or transfer to destination
|
||||||
function go_destination(from_ext, destination, which, call_id = '') {
|
function go_destination(from_ext, destination, which, call_id) {
|
||||||
|
call_id = typeof call_id !== 'undefined' ? call_id : '';
|
||||||
if (destination != '') {
|
if (destination != '') {
|
||||||
if (!isNaN(parseFloat(destination)) && isFinite(destination)) {
|
if (!isNaN(parseFloat(destination)) && isFinite(destination)) {
|
||||||
if (call_id == '') {
|
if (call_id == '') {
|
||||||
|
|
|
||||||
|
|
@ -1260,8 +1260,8 @@ legend {
|
||||||
|
|
||||||
<script language="JavaScript" type="text/javascript">
|
<script language="JavaScript" type="text/javascript">
|
||||||
function display_message(msg, mood, delay) {
|
function display_message(msg, mood, delay) {
|
||||||
delay = (typeof delay === "undefined") ? <?php echo (1000 * (float) $_SESSION['theme']['message_delay']['text']); ?> : delay;
|
|
||||||
mood = typeof mood !== 'undefined' ? mood : 'default';
|
mood = typeof mood !== 'undefined' ? mood : 'default';
|
||||||
|
delay = typeof delay !== 'undefined' ? delay : <?php echo (1000 * (float) $_SESSION['theme']['message_delay']['text']); ?>;
|
||||||
if (msg != '') {
|
if (msg != '') {
|
||||||
// insert temp div to get width w/o scroll bar
|
// insert temp div to get width w/o scroll bar
|
||||||
var helper_div = $('<div />');
|
var helper_div = $('<div />');
|
||||||
|
|
|
||||||
|
|
@ -1125,8 +1125,6 @@ legend {
|
||||||
/* jquery ui autocomplete styles */
|
/* jquery ui autocomplete styles */
|
||||||
|
|
||||||
.ui-widget {
|
.ui-widget {
|
||||||
font-family: arial;
|
|
||||||
font-size: 12px;
|
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
@ -1142,18 +1140,23 @@ legend {
|
||||||
border: 1px solid #c0c0c0;
|
border: 1px solid #c0c0c0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ui-menu, .ui-menu .ui-menu-item {
|
||||||
|
width: 350px;
|
||||||
|
}
|
||||||
|
|
||||||
.ui-menu .ui-menu-item a {
|
.ui-menu .ui-menu-item a {
|
||||||
padding-right: 25px;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-color: #fff;
|
border-color: #fff;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
white-space: nowrap;
|
||||||
|
font-family: arial;
|
||||||
|
font-size: 12px;
|
||||||
color: #444;
|
color: #444;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-menu .ui-menu-item a:hover {
|
.ui-menu .ui-menu-item a:hover {
|
||||||
padding-right: 25px;
|
|
||||||
color: #5082ca;
|
color: #5082ca;
|
||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
|
@ -1272,8 +1275,9 @@ legend {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script language="JavaScript" type="text/javascript">
|
<script language="JavaScript" type="text/javascript">
|
||||||
function display_message(msg, mood, delay = <?php echo (1000 * (float) $_SESSION['theme']['message_delay']['text']); ?>) {
|
function display_message(msg, mood, delay) {
|
||||||
mood = typeof mood !== 'undefined' ? mood : 'default';
|
mood = typeof mood !== 'undefined' ? mood : 'default';
|
||||||
|
delay = typeof delay !== 'undefined' ? delay : <?php echo (1000 * (float) $_SESSION['theme']['message_delay']['text']); ?>;
|
||||||
if (msg != '') {
|
if (msg != '') {
|
||||||
// insert temp div to get width w/o scroll bar
|
// insert temp div to get width w/o scroll bar
|
||||||
var helper_div = $('<div />');
|
var helper_div = $('<div />');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue