pari: trunk r328 - /trunk/config/
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Thu Feb 8 14:08:33 MST 2007
Author: pari
Date: Thu Feb 8 15:08:32 2007
New Revision: 328
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=328
Log:
tweaks: few more changes for IE compatibility
Modified:
trunk/config/meetme.html
trunk/config/menus.html
trunk/config/queues.html
trunk/config/sysinfo.html
trunk/config/users.html
trunk/config/voicemail.html
Modified: trunk/config/meetme.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/meetme.html?view=diff&rev=328&r1=327&r2=328
==============================================================================
--- trunk/config/meetme.html (original)
+++ trunk/config/meetme.html Thu Feb 8 15:08:32 2007
@@ -125,6 +125,10 @@
}
$('extensions').contentEditable = 'true';
$('extensions').disabled = 0;
+ if( navigator.userAgent.indexOf("MSIE") != -1){
+ $('advancedw').style.height=130;
+ togglefeatures = function(){ } ;
+ }
parent.loadscreen(this);
}
callbacks.sortfunc = function(a,b) {
@@ -293,7 +297,7 @@
<table class="mainscreenTable" align="center">
<tr valign="top"><td colspan='2'>Extensions:</td> </tr>
<tr valign="top">
- <td><select disabled size="28" id="extensions" style="width:220px;height: 415px" class="input10">
+ <td><select disabled size="25" id="extensions" style="width:220px;" class="input10">
<option>Loading...</option>
</select>
<div style='visibility:hidden;overflow:hidden;width:0px;height:0px'> <select id='hiddenusers'> </select></div>
Modified: trunk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/menus.html?view=diff&rev=328&r1=327&r2=328
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Thu Feb 8 15:08:32 2007
@@ -1035,12 +1035,12 @@
</tr>
<tr valign="top">
<td>
- <select size="20" id="vmenus" style="width:180px; height: 415px" class="input10">
+ <select size="25" id="vmenus" style="width:180px;" class="input10">
<option>Loading...</option>
</select>
- <div style='visibility:hidden;overflow:hidden;width:0px;height:0px'><select id='extensions'></select><select id='users'></select><select id='recorded_files'></select></div>
</td>
<td valign=top align="right" width=346 height=415>
+ <select id='extensions' style='display:none;width:0px;height:0px'></select><select id='users' style='display:none;width:0px;height:0px'></select><select id='recorded_files' style='display:none;width:0px;height:0px'></select>
<table align="center" width="346">
<tr>
<td width="50" align=left class="field_text" onmouseover="show_tooltip('en', 'menus', 0);">Name:</td>
Modified: trunk/config/queues.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/queues.html?view=diff&rev=328&r1=327&r2=328
==============================================================================
--- trunk/config/queues.html (original)
+++ trunk/config/queues.html Thu Feb 8 15:08:32 2007
@@ -423,10 +423,16 @@
////////
function localajaxinit() {
- $('advancedw').style.overflow = "hidden";
- $('advancedw').style.height = 1;
- $('advancedw').style.width = $('split').style.width;
// $('advancedi').style.width = $('split').width - 60;
+ if( navigator.userAgent.indexOf("MSIE") != -1){
+ togglefeatures = function(){ } ;
+ $('advancedw').style.display = "";
+ $('advancedw').style.height=190;
+ }else{
+ $('advancedw').style.overflow = "hidden";
+ $('advancedw').style.height = 1;
+ $('advancedw').style.width = $('split').style.width;
+ }
for (var x=0; x < fieldnames.length ; x++) {
widgets[fieldnames[x]] = $(fieldnames[x]);
widgets[fieldnames[x]].disabled = true;
@@ -452,10 +458,10 @@
<table class="mainscreenTable" align="center">
<tr valign="top"><td colspan='2'>Extensions:</td></tr>
<tr valign="top">
- <td> <select size="28" id="queues" style="width:220px; height: 415px" class="input10"><option>Loading...</option></select>
- <div style='visibility:hidden;overflow:hidden;width:0px;height:0px'><select id='extensions'></select><select id='devices'></select><select id='finalextensions'></select></div>
+ <td> <select size="25" id="queues" style="width:220px;" class="input10"><option>Loading...</option></select>
</td>
<td style="width:311px; height: 415px"><div id='adjustments' style='width:310'>
+ <select id='extensions' style='display:none;width:0px;height:0px'></select><select id='devices' style='display:none;width:0px;height:0px'></select><select id='finalextensions' style='display:none;width:0px;height:0px'></select>
<table cellspacing='0' cellpadding='0'>
<tr valign="top"><td>
<table>
Modified: trunk/config/sysinfo.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/sysinfo.html?view=diff&rev=328&r1=327&r2=328
==============================================================================
--- trunk/config/sysinfo.html (original)
+++ trunk/config/sysinfo.html Thu Feb 8 15:08:32 2007
@@ -54,7 +54,7 @@
if(originalRequest.responseText.length==0){
$('todaylog').innerHTML = "No log messages found on this Day" ;
}else{
- $('todaylog').innerHTML = originalRequest.responseText.escapeHTML() ;
+ $('todaylog').innerHTML = "<PRE>"+originalRequest.responseText.escapeHTML() +"</PRE>";
}
},
onFailure: function(t) {
@@ -213,7 +213,7 @@
<option value="Oct">Oct</option><option value="Nov">Nov</option><option value="Dec">Dec</option></select>
<select id="log_day"><SCRIPT LANGUAGE="JavaScript">
for(var i=1; i < 32; i++){ document.write( '<option value="' + i + '">' + i + '</option>' ); }</SCRIPT></select><input type="button" value="Go" onclick="thisday_log();">
- <PRE><div id="todaylog" style="font-family:courier; font-size:8.5pt; width:522px; height:405px; overflow :auto;"></div></PRE>
+ <div id="todaylog" style="font-family:courier; font-size:8.5pt; width:522px; height:405px; overflow :auto;"></div>
</div>
</div>
</td>
Modified: trunk/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/users.html?view=diff&rev=328&r1=327&r2=328
==============================================================================
--- trunk/config/users.html (original)
+++ trunk/config/users.html Thu Feb 8 15:08:32 2007
@@ -291,8 +291,14 @@
$('link_sortby').innerHTML = " <A href=\"users.html?sortbynames\">Sort By Name</A> ";
}
- $('features').style.overflow = "hidden";
- $('features').style.height = 1;
+ if( navigator.userAgent.indexOf("MSIE") != -1){
+ togglefeatures = function(){ } ;
+ $('features').style.display = "";
+ $('features').style.height=160;
+ }else{
+ $('features').style.overflow = "hidden";
+ $('features').style.height = 1;
+ }
$('features').style.width = 302;
adstatus = "hidden";
$('devices').contentEditable = 'false';
@@ -323,10 +329,7 @@
<option>Loading...</option>
</select>
</td>
- <td style="width:311px; height: 415px">
- <div style='visibility:hidden;overflow:hidden;width:0px;height:0px'>
- <select id='extensions'></select>
- </div>
+ <td style="width:311px; height: 415px"><select id='extensions' style='display:none;width:0px;height:0px'></select>
<div id='adjustments' style='width:310'>
<table cellspacing='0' cellpadding='0' >
<tr valign="top"><td>
Modified: trunk/config/voicemail.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/voicemail.html?view=diff&rev=328&r1=327&r2=328
==============================================================================
--- trunk/config/voicemail.html (original)
+++ trunk/config/voicemail.html Thu Feb 8 15:08:32 2007
@@ -259,12 +259,17 @@
}
function localajaxinit() {
- $('advancedw').style.overflow = "hidden";
- $('advancedw').style.height = 1;
- $('advancedw').style.width = $('split').style.width;
//$('advancedi').style.width = $('split').width - 60;
adstatus = "hidden";
$('extensions').contentEditable = 'false';
+ if( navigator.userAgent.indexOf("MSIE") != -1){
+ togglefeatures = function(){ } ;
+ $('advancedw').style.height=140;
+ }else{
+ $('advancedw').style.overflow = "hidden";
+ $('advancedw').style.height = 1;
+ }
+ $('advancedw').style.width = $('split').style.width;
for (var x =0; x< vmfields.length; x++) {
vmwidgets[vmfields[x]] = $(vmfields[x]);
vmwidgets[vmfields[x]].disabled = true;
@@ -292,16 +297,14 @@
<table class="mainscreenTable" align="center">
<tr valign="top"><td colspan='2'>Extensions:</td></tr>
<tr valign="top">
- <td><select disabled size="28" id="extensions" style="width:220px; height: 415px" class="input10">
+ <td><select disabled size="25" id="extensions" style="width:220px;" class="input10">
<option>Loading...</option>
</select>
- <div style='visibility:hidden;overflow:hidden;width:0px;height:0px'>
- <select id='hiddenusers'></select>
- <select id='hiddenvoicemail'></select>
- </div>
</td>
<td style="height: 415px">
<div id='adjustments' style='width:310'>
+ <select id='hiddenusers' style='display:none;width:0px;height:0px'></select>
+ <select id='hiddenvoicemail' style='display:none;width:0px;height:0px'></select>
<table cellspacing='0' cellpadding='0'>
<tr valign="top"><td>
<table>
More information about the asterisk-gui-commits
mailing list