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-1.9.2 assets/js/redirectResult.js
appscms-tools-theme-1.9.1 assets/js/redirectResult.js
appscms-tools-theme-1.9.0 assets/js/redirectResult.js