Sha256: 806fcc164226023286b84807af6595c6bd6d450baf7129317e04c482a9a01401

Contents?: true

Size: 428 Bytes

Versions: 263

Compression:

Stored size: 428 Bytes

Contents

const button = document.getElementById('btn')
let script = document.currentScript
let fileName = script.dataset.filename
let permalink = script.dataset.permalink

const params = new URLSearchParams(window.location.search)
button.addEventListener("click", (e) => {
    window.location = window.location.protocol + "//" + window.location.host +
        `${permalink}` + '/' + "result" + '?' + 'fileName' + "=" + btoa(fileName);
})

Version data entries

263 entries across 263 versions & 1 rubygems

Version Path
appscms-tools-theme-2.5.7 assets/js/redirectResult.js
appscms-tools-theme-2.5.6 assets/js/redirectResult.js
appscms-tools-theme-2.5.5 assets/js/redirectResult.js
appscms-tools-theme-2.5.4 assets/js/redirectResult.js
appscms-tools-theme-2.5.3 assets/js/redirectResult.js
appscms-tools-theme-2.5.2 assets/js/redirectResult.js
appscms-tools-theme-2.5.1 assets/js/redirectResult.js
appscms-tools-theme-2.5.0 assets/js/redirectResult.js
appscms-tools-theme-2.4.9 assets/js/redirectResult.js
appscms-tools-theme-2.4.8 assets/js/redirectResult.js
appscms-tools-theme-2.4.7 assets/js/redirectResult.js
appscms-tools-theme-2.4.6 assets/js/redirectResult.js
appscms-tools-theme-2.4.5 assets/js/redirectResult.js
appscms-tools-theme-2.4.4 assets/js/redirectResult.js
appscms-tools-theme-2.4.3 assets/js/redirectResult.js
appscms-tools-theme-2.4.2 assets/js/redirectResult.js
appscms-tools-theme-2.4.1 assets/js/redirectResult.js
appscms-tools-theme-2.4.0 assets/js/redirectResult.js
appscms-tools-theme-2.3.9 assets/js/redirectResult.js
appscms-tools-theme-2.3.8 assets/js/redirectResult.js