summaryrefslogtreecommitdiffstats
path: root/idrop-web
diff options
context:
space:
mode:
authorLISA STILLWELL <lisa@simon.local>2011-07-05 21:53:55 (GMT)
committer LISA STILLWELL <lisa@simon.local>2011-07-05 21:53:55 (GMT)
commit6d8506d0a0c6117603792414bd4ca60ea35e5c80 (patch)
tree2be3ddba5a0f80912a68260dad3394689d6f5b99 /idrop-web
parent6c037039ce80e4e39270e678527184db8f417c28 (diff)
downloadQCG-Data-6d8506d0a0c6117603792414bd4ca60ea35e5c80.zip
QCG-Data-6d8506d0a0c6117603792414bd4ca60ea35e5c80.tar.gz
QCG-Data-6d8506d0a0c6117603792414bd4ca60ea35e5c80.tar.bz2
added mode parameter for idrop lite applet
Diffstat (limited to 'idrop-web')
-rw-r--r--idrop-web/grails-app/controllers/org/irods/mydrop/controller/IdropLiteController.groovy5
1 files changed, 4 insertions, 1 deletions
diff --git a/idrop-web/grails-app/controllers/org/irods/mydrop/controller/IdropLiteController.groovy b/idrop-web/grails-app/controllers/org/irods/mydrop/controller/IdropLiteController.groovy
index daeba60..19eb288 100644
--- a/idrop-web/grails-app/controllers/org/irods/mydrop/controller/IdropLiteController.groovy
+++ b/idrop-web/grails-app/controllers/org/irods/mydrop/controller/IdropLiteController.groovy
@@ -50,8 +50,11 @@ class IdropLiteController {
dataCacheService.irodsAccount = irodsAccount
dataCacheService.putStringValueIntoCache(irodsAccount.password, password)
+ /* set applet operation mode to indicate temporary password is being sent */
+ def mode = "1";
+
log.info "temporary user password is: ${password}"
- render(view:"appletLoader", model:[password:password, account:irodsAccount, absPath:absPath])
+ render(view:"appletLoader", model:[mode:mode, password:password, account:irodsAccount, absPath:absPath])
}
}