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.
This commit is contained in:
Joel Martin
2010-09-23 09:39:24 -05:00
parent aa78706983
commit ff36b1270b
5 changed files with 62 additions and 43 deletions

View File

@@ -22,8 +22,11 @@
}
#VNC_encrypt {
}
#VNC_connectTimeout {
width: 30;
}
#VNC_connect_button {
width: 100px;
width: 110px;
}
#VNC_status_bar td {