Changeset 9601f05 in github


Ignore:
Timestamp:
Aug 11, 2010 5:10:34 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
ac18981
Parents:
5807133
Message:
  • Two fixes for Konqueror
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/js/app.js

    rc321e2fb r9601f05  
    17601760  this.show_contentframe = function(show) 
    17611761  { 
    1762     var frm; 
     1762    var frm, win; 
    17631763    if (this.env.contentframe && (frm = $('#'+this.env.contentframe)) && frm.length) { 
    1764       if (!show && window.frames[this.env.contentframe]) { 
    1765         if (window.frames[this.env.contentframe].location.href.indexOf(this.env.blankpage)<0) 
    1766           window.frames[this.env.contentframe].location.href = this.env.blankpage; 
     1764      if (!show && (win = window.frames[this.env.contentframe])) { 
     1765        if (win.location && win.location.href.indexOf(this.env.blankpage)<0) 
     1766          win.location.href = this.env.blankpage; 
    17671767      } 
    17681768      else if (!bw.safari && !bw.konq) 
     
    37263726    } 
    37273727 
    3728     this.name_input.select(); 
     3728    this.name_input.select().focus(); 
    37293729  }; 
    37303730 
     
    37463746    } 
    37473747 
    3748     this.name_input.select(); 
     3748    this.name_input.select().focus(); 
    37493749  }; 
    37503750 
     
    39053905      return false; 
    39063906 
    3907     var add_url = '',  target = window; 
     3907    var add_url = '', target = window; 
    39083908 
    39093909    if (this.env.contentframe && window.frames && window.frames[this.env.contentframe]) { 
Note: See TracChangeset for help on using the changeset viewer.