aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/report.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/report.js b/www/js/report.js
index 244a24c..a14f38b 100644
--- a/www/js/report.js
+++ b/www/js/report.js
@@ -56,6 +56,9 @@ function Report(spec) {
}
localStorage.setObject('reports', reports);
},
+ update: function(spec) {
+ props = spec;
+ },
remove: function(del_id) {
if ( del_id ) {
this.load(del_id);