Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with 

  • Power Scripts 2.5 (server)
  • SIL ENgine Engine (former katl-commons) 2.5

...

Warning
titleImportant

The file designated by the jsFilePath parameter must contain only JavaScript code. Note that this code will be inlined, so do not use single line comments!

Code Block
var v = "a";
// let's show an alert
alert(v);

The above script will be evaluated to

Code Block
var v = "a"; // let's show an alert alert(v);

So the alert() will never be called.

Code Block
/* Disable Edit Issue button */
AJS.$('#edit-issue').get(0).setAttribute("style", "pointer-events: none; opacity: 0.5;");


See also

Filter by label (Content by label)
showLabelsfalse
max35
showSpacefalse
sorttitle
cqllabel = "lf_routines"
labelsjira_comment_routine