|
|
@ -30,11 +30,13 @@ define([
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var parsed = Hash.parsePadUrl(href);
|
|
|
|
var parsed = Hash.parsePadUrl(href);
|
|
|
|
var opts = parsed.getOptions();
|
|
|
|
if (parsed && parsed.hashData) {
|
|
|
|
version = opts.versionHash;
|
|
|
|
var opts = parsed.getOptions();
|
|
|
|
opts.versionHash = "";
|
|
|
|
version = opts.versionHash;
|
|
|
|
href = parsed.getUrl(opts);
|
|
|
|
opts.versionHash = "";
|
|
|
|
hash = parsed.hashData.getHash(opts);
|
|
|
|
href = parsed.getUrl(opts);
|
|
|
|
|
|
|
|
hash = parsed.hashData.getHash(opts);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
document.getElementById('sbox-iframe').setAttribute('src',
|
|
|
|
document.getElementById('sbox-iframe').setAttribute('src',
|
|
|
|
ApiConfig.httpSafeOrigin + window.location.pathname + 'inner.html?' +
|
|
|
|
ApiConfig.httpSafeOrigin + window.location.pathname + 'inner.html?' +
|
|
|
|