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
0259ef8551
commit
8f30afbf18
|
|
@ -218,7 +218,8 @@ require_once "resources/header.php";
|
|||
}
|
||||
|
||||
//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 (!isNaN(parseFloat(destination)) && isFinite(destination)) {
|
||||
if (call_id == '') {
|
||||
|
|
|
|||
|
|
@ -1260,8 +1260,8 @@ legend {
|
|||
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
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';
|
||||
delay = typeof delay !== 'undefined' ? delay : <?php echo (1000 * (float) $_SESSION['theme']['message_delay']['text']); ?>;
|
||||
if (msg != '') {
|
||||
// insert temp div to get width w/o scroll bar
|
||||
var helper_div = $('<div />');
|
||||
|
|
|
|||
|
|
@ -1125,8 +1125,6 @@ legend {
|
|||
/* jquery ui autocomplete styles */
|
||||
|
||||
.ui-widget {
|
||||
font-family: arial;
|
||||
font-size: 12px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
|
@ -1142,18 +1140,23 @@ legend {
|
|||
border: 1px solid #c0c0c0;
|
||||
}
|
||||
|
||||
.ui-menu, .ui-menu .ui-menu-item {
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
.ui-menu .ui-menu-item a {
|
||||
padding-right: 25px;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
border-color: #fff;
|
||||
background-image: none;
|
||||
background-color: #fff;
|
||||
white-space: nowrap;
|
||||
font-family: arial;
|
||||
font-size: 12px;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.ui-menu .ui-menu-item a:hover {
|
||||
padding-right: 25px;
|
||||
color: #5082ca;
|
||||
border: 1px solid white;
|
||||
background-image: none;
|
||||
|
|
@ -1272,8 +1275,9 @@ legend {
|
|||
</script>
|
||||
|
||||
<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';
|
||||
delay = typeof delay !== 'undefined' ? delay : <?php echo (1000 * (float) $_SESSION['theme']['message_delay']['text']); ?>;
|
||||
if (msg != '') {
|
||||
// insert temp div to get width w/o scroll bar
|
||||
var helper_div = $('<div />');
|
||||
|
|
|
|||
Loading…
Reference in New Issue