diff js/modules/app.js @ 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 ee0a4597c067
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);