[wsas-java-dev] svn commit r690 -
wsas/java/trunk/modules/samples/Chad/www/js
svn at wso2.com
svn at wso2.com
Fri Feb 2 22:01:42 PST 2007
Author: saminda
Date: Fri Feb 2 22:01:37 2007
New Revision: 690
Modified:
wsas/java/trunk/modules/samples/Chad/www/js/chad.js
Log:
if a admin is not available disabling the back button
Modified: wsas/java/trunk/modules/samples/Chad/www/js/chad.js
==============================================================================
--- wsas/java/trunk/modules/samples/Chad/www/js/chad.js (original)
+++ wsas/java/trunk/modules/samples/Chad/www/js/chad.js Fri Feb 2 22:01:37 2007
@@ -198,6 +198,9 @@
with the location. */
function handleHistoryChangeChad(newLocation,
historyData) {
+ if (!isAuthorized) {
+ return;
+ }
var actDivName = newLocation.substring(3, newLocation.length);
// This is done to stop the screen from jumping about.
eval("showOnlyOneMain(document.getElementById('" + actDivName + "'), true)");
More information about the Wsas-java-dev
mailing list