BUG 8801 Ventana de Upload en el "Process File" no tiene un layout uniforme SOLVED

- The difference is based on that there are problems with previous versions of
  IE 9 from the above mentioned version everything works correctly
This commit is contained in:
Alvaro Campos
2012-06-08 15:53:48 -04:00
parent 44b68e30c5
commit 80c1d3df10

View File

@@ -28,16 +28,19 @@ var uploadFilesScreen = function(PRO_UID, MAIN_DIRECTORY, CURRENT_DIRECTORY) {
var swNavigator;
if(navigator.appName=='Microsoft Internet Explorer'){
var rv = '';
if (new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})").exec(navigator.userAgent) != null)
rv = parseFloat( RegExp.$1 );
if (rv >= 9)
swNavigator='ie9+';
else
swNavigator='ie';
if (new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})").exec(navigator.userAgent) != null) {
rv = parseFloat(RegExp.$1);
}
wd=420;
hg=170;
if (rv >= 9) {
swNavigator='ie9+';
}
else {
swNavigator='ie';
}
wd = 420;
hg = 170;
} else {
swNavigator='wknormal';
wd=420;