Kaynağa Gözat

Fixed that URL is replaced with "undefined" in IE11 and Edge (#32529).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19347 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Jean-Philippe Lang 4 yıl önce
ebeveyn
işleme
db8cccc221
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      public/javascripts/application.js

+ 1
- 1
public/javascripts/application.js Dosyayı Görüntüle

@@ -412,7 +412,7 @@ function getRemoteTab(name, remote_url, url, load_always) {
//replaces current URL with the "href" attribute of the current link
//(only triggered if supported by browser)
function replaceInHistory(url) {
if ("replaceState" in window.history) {
if ("replaceState" in window.history && url !== undefined) {
window.history.replaceState(null, document.title, url);
}
}

Loading…
İptal
Kaydet