fix issue with images having relative url.

Issue : We load the content of pages by using ajax and we push the new content in the dom before to change the url. Some pages like the home page have image defined by a relative url. As the url is not the good one when we put the content in the DOM, the images are displayed as broken.

To reproduce the issue just click on an article (article -> overview) then click on the home link of the top menu. The images are not displayed correctly. Refresh the browser, the images appears.

Change-Id: I72a2997d9e6400b97b5e11da05dfd282d17882ff
1 file changed
tree: 1331d530f0d7e14060587968fdb7bf83d31b2ef5
  1. .gitignore
  2. LICENSE
  3. README.md
  4. eclipse-launch-profiles/
  5. nbactions.xml
  6. pom.xml
  7. src/
README.md

App Engine Java Application Copyright (C) 2010-2012 Google Inc.

Skeleton application for use with App Engine Java.

Requires Apache Maven 3.0 or greater, and JDK 6+ in order to run.

To build, run

mvn package

Building will run the tests, but to explicitly run tests you can use the test target

mvn test

To start the app, use the App Engine Maven Plugin that is already included in this demo. Just run the command.

mvn appengine:devserver

For further information, consult the Java App Engine documentation.

To see all the available goals for the App Engine plugin, run

mvn help:describe -Dplugin=appengine