Changeset 4761 for trunk/phpgwapi


Ignore:
Timestamp:
07/15/11 10:19:44 (13 years ago)
Author:
roberto.santosjunior
Message:

Ticket #1975 - Solucionada inconsistência do teclado ao navegar na busca por F9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/js/dJSWin/dJSWin.js

    r4034 r4761  
    5858                if (is_ie) 
    5959                { 
     60                        this.onclose = params.onclose; 
    6061                        this.winContainer = document.createElement('iframe'); 
    6162                } 
     
    172173                this.buttons.xDIV.style.left = parseInt(params['width']) - 13 + 'px'; 
    173174                this.buttons.xDIV.style.zIndex = '1'; 
    174                 this.buttons.xDIV.onclick = function() {_this.close(); _this.state = 2;if(document.getElementById("window_QuickCatalogSearch")) document.getElementById("window_QuickCatalogSearch").style.visibility = "hidden";}; 
     175                this.buttons.xDIV.onclick = function() {_this.close();_this.state = 2;if(document.getElementById("window_QuickCatalogSearch")) document.getElementById("window_QuickCatalogSearch").style.visibility = "hidden";}; 
    175176                 
    176177                this.content.style.visibility = 'hidden'; 
     
    335336                var _this = this; 
    336337                _this.state = 0; 
     338 
     339                if (typeof this.onclose != 'undefined') 
     340                { 
     341                    eval(this.onclose); 
     342                } 
     343                 
    337344                dd.elements[this.title.id].hide(); 
    338345                /* Turn the attribute visible false */ 
     
    342349                divBan.removeAttribute('onclick'); 
    343350                if (is_ie){ 
    344                         divBan.onclick = function(){}; 
    345                 } 
     351                        divBan.onclick = function(){};  
     352                }    
    346353        } 
    347354         
Note: See TracChangeset for help on using the changeset viewer.