changeset 82:03bf0a1b85da

made 'storage' point to sessionStorage instead of localStorage
author Atul Varma <avarma@mozilla.com>
date Mon, 26 Apr 2010 04:32:50 -0700
parents e3de1fe32f40
children c38db28b48f5
files js/modules/app.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js/modules/app.js	Sun Apr 25 22:44:00 2010 -0700
+++ b/js/modules/app.js	Mon Apr 26 04:32:50 2010 -0700
@@ -3,7 +3,7 @@
     var bugzilla = require("app/bugzilla-auth").create(options.Bugzilla);
     moduleExports.bugzilla = bugzilla;
     moduleExports.window = options.window;
-    moduleExports.storage = options.window.localStorage;
+    moduleExports.storage = options.window.sessionStorage;
     moduleExports.jQuery = options.jQuery;
 
     require("app/ui").init(options.window.document);