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:
Nate Jones
2015-04-08 03:50:09 +00:00
parent 0259ef8551
commit 8f30afbf18
3 changed files with 12 additions and 7 deletions

View File

@@ -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 />');