whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: convert one more (thanks sebb!)
Date Wed, 20 Apr 2016 16:49:31 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  cc4dcb3   convert one more (thanks sebb!)
cc4dcb3 is described below

commit cc4dcb3c31c0b86daa5ebc9f967c50eb59e48eb3
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Wed Apr 20 12:49:09 2016 -0400

    convert one more (thanks sebb!)
---
 www/board/agenda/views/models/jsonstorage.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/views/models/jsonstorage.js.rb b/www/board/agenda/views/models/jsonstorage.js.rb
index e85b6df..ccd06c7 100644
--- a/www/board/agenda/views/models/jsonstorage.js.rb
+++ b/www/board/agenda/views/models/jsonstorage.js.rb
@@ -32,7 +32,7 @@ class JSONStorage
   def self.get(name)
     if defined? sessionStorage
       name = JSONStorage.prefix + '-' + name
-      return JSON.parse(localStorage.getItem(name) || 'null')
+      return JSON.parse(sessionStorage.getItem(name) || 'null')
     end
   end
 end

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message