]> git.proxmox.com Git - mirror_novnc.git/commit - include/ui.js
Refactor settings object, add connectTimeout setting.
authorJoel Martin <github@martintribe.org>
Thu, 23 Sep 2010 14:39:24 +0000 (09:39 -0500)
committerJoel Martin <github@martintribe.org>
Thu, 23 Sep 2010 14:39:24 +0000 (09:39 -0500)
commitff36b1270b04b706fea43f3ac94508c230cd86a7
treeb61064b366d0e95741a30b0e039dab6099491df1
parentaa787069832c7b32b90a23a4d5063f2d72f07ba3
Refactor settings object, add connectTimeout setting.

- include/util.js: Add type and desc field to conf_default routine.
  Make comment descriptions of settings into desc parameters that can
  be queried. Also, use set_FOO in conf_default to set or coerce the
  current setting so that we always have the right type for the value.

- include/rfb.js, include/default_config.js: add connectTimeout
  setting to address situations with slow connections that may need
  more than 2 seconds.
include/canvas.js
include/default_controls.js
include/plain.css
include/rfb.js
include/util.js