You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2016/02/08 13:49:15 UTC

svn commit: r1729157 - /steve/trunk/pysteve/www/htdocs/js/steve_monitor.js

Author: humbedooh
Date: Mon Feb  8 12:49:15 2016
New Revision: 1729157

URL: http://svn.apache.org/viewvc?rev=1729157&view=rev
Log:
try to set data, we may fail..only try

Modified:
    steve/trunk/pysteve/www/htdocs/js/steve_monitor.js

Modified: steve/trunk/pysteve/www/htdocs/js/steve_monitor.js
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/js/steve_monitor.js?rev=1729157&r1=1729156&r2=1729157&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_monitor.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_monitor.js Mon Feb  8 12:49:15 2016
@@ -71,7 +71,11 @@ function saveData(election) {
             backlog: backlog,
             oldbacklog: oldbacklog
         }
-        window.localStorage.setItem("monitor_" + election, JSON.stringify(js))
+        try {
+            window.localStorage.setItem("monitor_" + election, JSON.stringify(js))
+        } catch(e) {
+            
+        }
     }
 }