Forum Discussion
Javascript suddenly stopped working on Publish and Review 360
Hi Jacey,
I have the same issue. Did you get a solution?
I have a module that is running online for month.
Then I changed anything except of the Javascript:
-----------
function kopiereTextInZwischenablage() {
var manuellEingefuegterText = "Ich habe folgendes Avaya-Problem:";
var textBereich = document.createElement("textarea");
textBereich.value = manuellEingefuegterText;
document.body.appendChild(textBereich);
textBereich.select();
document.execCommand("copy");
document.body.removeChild(textBereich);
alert("Folgender Text wurde in den Speicher kopiert: \n\n" + manuellEingefuegterText + "\n\nFüge ihn in das linke Ticketfenster in das Feld BESCHREIBUNG ein mittels Strg + V." );
}
kopiereTextInZwischenablage();
---------
Now the same code does not work in the entire file. I mean, I have 30 JS-codes, that all worked. I did not change them. Now all 30 are not working.
Is it really frustrating as I put into it a lot of work.
- JaceyLett-f23982 months agoCommunity Member
If the code is only failing in Review 360, then try Sebastien's idea of running it at .25 seconds instead of immediately at the start of the slide. Or, place the code further down to go after other code/triggers. That worked for me. :)