Changeset 7303


Ignore:
Timestamp:
09/26/12 09:55:54 (8 years ago)
Author:
gustavo
Message:

Ticket #3131 - Usar IM no modulo IM, is_ie é UNDEFINED ao tentar abrir o messenger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jabberit_messenger/jmessenger/js/connector.mini.js

    r3102 r7303  
    11 
    22(function() 
    3 {var _THREADS=[];var _ie;function _config(pObj,pEvent,pHandler) 
     3{ 
     4if (document.all){ 
     5navigator.userAgent.toLowerCase().indexOf('msie 5') != -1 ? is_ie5 = true : is_ie5 = false; 
     6is_ie = true;is_moz1_6 = false;is_mozilla = false;is_webkit = false;is_ns4 = false;} 
     7else if (document.getElementById){ 
     8navigator.userAgent.toLowerCase().match('mozilla.*rv[:]1\.6.*gecko') ? is_moz1_6 = true : is_moz1_6 = false; 
     9navigator.userAgent.toLowerCase().match('applewebkit') ? is_webkit = true : is_webkit = false; 
     10is_ie = false;is_ie5 = false;is_mozilla = true;is_ns4 = false;} 
     11else if (document.layers) 
     12{is_ie = false;is_ie5 = falseis_moz1_6 = false;is_mozilla = false;is_webkit = false;is_ns4 = true;}      
     13var _THREADS=[];var _ie;function _config(pObj,pEvent,pHandler) 
    414{if(typeof pObj=='object') 
    515{if(pEvent.substring(0,2)=='on') 
Note: See TracChangeset for help on using the changeset viewer.