diff -r 55454c900296 -r fbe12f54453a client/js/main.js --- a/client/js/main.js Mon Mar 25 17:52:14 2013 +0100 +++ b/client/js/main.js Mon Mar 25 18:54:23 2013 +0100 @@ -116,9 +116,6 @@ if (typeof _opts.show_bins !== "boolean") { _opts.show_bins = !!_opts.search.length || !!_opts.bins.length; } - if (typeof _opts.read_only !== "boolean") { - _opts.read_only = false; - } if (typeof _opts.properties !== "object") { _opts.properties = []; } @@ -136,9 +133,10 @@ this.language = _opts.language; this.static_url = _opts.static_url; this.show_bins = _opts.show_bins; - this.read_only = _opts.read_only; this.properties = _opts.properties; this.clip_images = _opts.clip_images; + this.read_only = _opts.read_only || false; + this.snapshot_mode = _opts.snapshot_mode || false; this.translate = function(_text) { return (Rkns.i18n[_opts.language] || Rkns.i18n[_opts.language.substr(0,2)] || {})[_text] || _text; @@ -254,6 +252,10 @@ + '