BUG Fix regression in url concatenation #4967

This commit is contained in:
Damian Mooyman 2016-08-15 16:49:57 +12:00
parent 02000e5446
commit ac2681658a

View File

@ -454,7 +454,9 @@
}
// Mark url as a preview url so it can get special treatment
if (url) {
url += ((url.indexOf('?') === -1) ? '?' : '&') + 'CMSPreview=1';
}
// If this preview panel isn't visible at the moment, delay loading the URL until it (maybe) is later
if (this.is('.column-hidden')) {