Widget: Compass: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 615: Line 615:
             if (answerId.indexOf('tech') !== -1) {
             if (answerId.indexOf('tech') !== -1) {
                 // Action takes us to Tech Library
                 // Action takes us to Tech Library
 
                 const enc = btoa(encodeURIComponent(JSON.stringify(act)));
                 const str = JSON.stringify(act);
                 window.location.assign('/index.php/List_of_Disaster_Community_Technologies?action=' + enc);
                const enc1 = btoa(encodeURIComponent(str));
                 const enc2 = btoa(unescape(encodeURIComponent(str)))
 
                console.log(enc1)
                console.log(enc2)
             }
             }
         }
         }

Revision as of 13:26, 24 November 2022

Development version of the Compass.
Not ready for production!