]> git.proxmox.com Git - mirror_novnc.git/commit - vnc_auto.html
Pass token into the path variable
authorMiguel Xavier Penha Neto <mxp@pinhaotec.com>
Thu, 1 Oct 2015 20:26:44 +0000 (17:26 -0300)
committerSolly Ross <sross@redhat.com>
Wed, 6 Jan 2016 20:56:28 +0000 (15:56 -0500)
commitc55f05f61936ac978a8b94cf8d5f8011a217c822
tree8eea9d5af47be7ba3b017e0482000bd4241f2f5a
parent28646d978fc5e0bcfdedabf25ddbc9e81ee6746c
Pass token into the path variable

If a token is already present in the path, the new variable
is ignored.  In order to properly manipulate the path,
a new method, `WebUtil.injectParamIfMissing` was introduced.

Fixes #536

[@directxman12: fix up path manipulation logic]
include/ui.js
include/webutil.js
vnc.html
vnc_auto.html