Javascript needs _ADMIN_BASE_URL_ access
-
Michael DiTore
I fully support this method. Because of varying server configurations (e.g., lack of mod_rewrite), and routing issues that come into play when the frontpage is overriden by another Concerto page, we can't reference resources reliably by using relative paths such as '../'. I also don't want to get into modifying the javascript somehow.
As far as the javascript itself goes, I'm far from knowledgeable on how it works. It would seem somewhat cleaner if the Screen was initiated by some sort of method call on the page, that could perhaps take the location as an argument. That aside, I see no reason that the above method would be any less robust or efficient. Let's go for it!
Once the above is tested, and committed we should be able to close this ticket.
-
Brian Michalski
- State changed from new to resolved
(from [646]) Fixing the JS path so its absolute instead of relative. [#28 Javascript needs _ADMIN_BASE_URL_ access state:resolved]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.