From a83acd7c214ceed6e08491f3476cf54efb7f4027 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Tue, 5 Apr 2011 08:53:25 +0000
Subject: [PATCH] Allow updating options array from console

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2800 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/discojuice/www/discojuice/discojuice.misc.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/discojuice/www/discojuice/discojuice.misc.js b/modules/discojuice/www/discojuice/discojuice.misc.js
index 15e47c357..da89a947e 100644
--- a/modules/discojuice/www/discojuice/discojuice.misc.js
+++ b/modules/discojuice/www/discojuice/discojuice.misc.js
@@ -87,6 +87,9 @@ DiscoJuice.Utils = {
 			},
 			"set": function(opts) {
 				options = opts;
+			},
+			"update": function(key, value) {
+				options[key] = value;
 			}
 		}
 	}(),
-- 
GitLab