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-4.2.7 assets/js/redirectResult.js
appscms-tools-theme-4.2.6 assets/js/redirectResult.js
appscms-tools-theme-4.2.5 assets/js/redirectResult.js
appscms-tools-theme-4.2.4 assets/js/redirectResult.js
appscms-tools-theme-4.2.3 assets/js/redirectResult.js
appscms-tools-theme-4.2.2 assets/js/redirectResult.js
appscms-tools-theme-4.2.1 assets/js/redirectResult.js
appscms-tools-theme-4.2.0 assets/js/redirectResult.js
appscms-tools-theme-4.1.9 assets/js/redirectResult.js
appscms-tools-theme-4.1.8 assets/js/redirectResult.js
appscms-tools-theme-4.1.7 assets/js/redirectResult.js
appscms-tools-theme-4.1.6 assets/js/redirectResult.js
appscms-tools-theme-4.1.5 assets/js/redirectResult.js
appscms-tools-theme-4.1.3 assets/js/redirectResult.js
appscms-tools-theme-4.1.2 assets/js/redirectResult.js
appscms-tools-theme-4.1.1 assets/js/redirectResult.js
appscms-tools-theme-4.1.0 assets/js/redirectResult.js
appscms-tools-theme-4.0.9 assets/js/redirectResult.js
appscms-tools-theme-4.0.8 assets/js/redirectResult.js
appscms-tools-theme-4.0.7 assets/js/redirectResult.js