dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #00346
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 104: dhis-web-portal: Fixed bug that lead to a crash after setting start module and logging in
------------------------------------------------------------
revno: 104
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Mon 2009-03-23 17:30:43 +0100
message:
dhis-web-portal: Fixed bug that lead to a crash after setting start module and logging in
modified:
dhis-2/dhis-web/dhis-web-portal/src/main/webapp/dhis-web-portal/redirect.vm
=== modified file 'dhis-2/dhis-web/dhis-web-portal/src/main/webapp/dhis-web-portal/redirect.vm'
--- dhis-2/dhis-web/dhis-web-portal/src/main/webapp/dhis-web-portal/redirect.vm 2009-03-03 16:46:36 +0000
+++ dhis-2/dhis-web/dhis-web-portal/src/main/webapp/dhis-web-portal/redirect.vm 2009-03-23 16:30:43 +0000
@@ -1,9 +1,9 @@
<script type="text/javascript">
-#if ( $startModule && $auth.hasAccess( $startModule.name, "index" ) )
- window.location.href="$startModule.defaultAction";
+#if ( $startModule && $auth.hasAccess( $startModule, "index" ) )
+ window.location.href = "../${startModule}/index.action";
#else
- window.location.href="intro.action";
+ window.location.href = "intro.action";
#end
</script>
--
Trunk
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.