Short URL in Resources is not working
GENERAL
TESTING
GENERAL
TESTING
Description
Attachments
1
is duplicated by
relates to
Activity
Show:

Daniel Merino October 2, 2015 at 2:42 AM
Tested in https://trunk-mysql.nightly.sakaiproject.org/portal/
It works as expected.

Matthew Jones October 1, 2015 at 10:41 AMEdited
Leaving this here for reference http://stackoverflow.com/questions/1070760/javascript-function-in-href-vs-onclick
There are at least 100 instances of this pattern (javascript in other tools. Guess it's a bad pattern to use.
Earle Nietzel September 30, 2015 at 9:32 AM
OK so created a new PR for the issue Danny described above.
Basically there was js in the href which needed to move to onclick.
Earle Nietzel September 30, 2015 at 8:45 AM
Thanks for catching this will provide a fix shortly...

Daniel Merino September 30, 2015 at 3:53 AM
I confirm that all "document.getElementById" elements don't work after removing the "javascript:" tag, at least for me in Firefox & Chromium.
I have added the tag in sakai_resources_list.vm and now the links are working fine in my server.
In Sakai 11 QA server when you click on checkbox 'Short URL' nothing happens.