← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20058: Fix headerbar bug

 

------------------------------------------------------------
revno: 20058
committer: Mark Polak <markpo@xxxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-09-09 11:08:21 +0200
message:
  Fix headerbar bug
  
  When using the event capture offline the headerbar would
  build the stylesheet url twice. This caused the stylesheet
  url to be wrong and miss the appcache. The fix should
  build the url the same for offline and online.
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.menu.ui.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.menu.ui.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.menu.ui.js	2015-06-09 13:21:00 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.menu.ui.js	2015-09-09 09:08:21 +0000
@@ -1137,7 +1137,7 @@
                         }
 
                         return {
-                            userStyleUrl: getStylesheetUrl(userStyle),
+                            userStyleUrl: userStyle,
                             logo: logo,
                             title: title,
                             link: link