Annotation feedback JS shouldn't rely on window's URL path.
Bug 1431668: This logic doesn't work for sites that are using
cleanURLs, and sites in subdirectories. And anyway, the
annotation.js file only gets loaded on pages where the block
is in "view" mode, so the logic isn't even needed.
Reviewed: https:/ /reviews. mahara. org/4401 gitorious. org/mahara/ mahara/ commit/ 797df58ed1cde96 0194c225be7649c 3e2f110442
Committed: http://
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 797df58ed1cde96 0194c225be7649c 3e2f110442
Author: Aaron Wells <email address hidden>
Date: Fri Mar 13 16:57:35 2015 +1300
Annotation feedback JS shouldn't rely on window's URL path.
Bug 1431668: This logic doesn't work for sites that are using
cleanURLs, and sites in subdirectories. And anyway, the
annotation.js file only gets loaded on pages where the block
is in "view" mode, so the logic isn't even needed.
Change-Id: I3c2a6505bd9533 1ab376cde6d5784 e3c7e8cd6e2