|
|
@ -30,11 +30,13 @@ define([
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var parsed = Hash.parsePadUrl(href);
|
|
|
|
var parsed = Hash.parsePadUrl(href);
|
|
|
|
|
|
|
|
if (parsed && parsed.hashData) {
|
|
|
|
var opts = parsed.getOptions();
|
|
|
|
var opts = parsed.getOptions();
|
|
|
|
version = opts.versionHash;
|
|
|
|
version = opts.versionHash;
|
|
|
|
opts.versionHash = "";
|
|
|
|
opts.versionHash = "";
|
|
|
|
href = parsed.getUrl(opts);
|
|
|
|
href = parsed.getUrl(opts);
|
|
|
|
hash = parsed.hashData.getHash(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?' +
|
|
|
|