Aleksander Machniak
2013-03-26 8320af552c7e2701339cc0bae7e0b5d3292a4db4
Fix errors in IE8 when opening compose page in new window
1 files modified
4 ■■■■ changed files
program/js/app.js 4 ●●●● patch | view | raw | blame | history
program/js/app.js
@@ -317,7 +317,7 @@
        }
        // detect browser capabilities
        if (!this.is_framed())
        if (!this.is_framed() && !this.env.extwin)
          this.browser_capabilities_check();
        break;
@@ -1685,7 +1685,7 @@
      l = (screen.width - w) / 2 + (screen.left || 0),
      t = Math.max(0, (screen.height - h) / 2 + (screen.top || 0) - 20),
      wname = 'rcmextwin' + new Date().getTime(),
      extwin = window.open(url + '&_extwin=1', wname,
      extwin = window.open(url + (url.match(/\?/) ? '&' : '?') + '_extwin=1', wname,
        'width='+w+',height='+h+',top='+t+',left='+l+',resizable=yes,toolbar=no,status=no,location=no');
    // write loading... message to empty windows