Short URL in Resources is not working

Description

In Sakai 11 QA server when you click on checkbox 'Short URL' nothing happens.

Attachments

1

is duplicated by

relates to

Activity

Show:

Daniel Merino October 2, 2015 at 2:42 AM

Matthew Jones October 1, 2015 at 10:41 AM
Edited

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.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created April 23, 2015 at 6:49 AM
Updated October 6, 2015 at 12:33 PM
Resolved September 29, 2015 at 10:58 AM