commit
ca99791caa
|
@ -0,0 +1,4 @@
|
|||
bell
|
||||
Copyright: Dr. Richard Boulanger et al
|
||||
URL: http://www.archive.org/details/Berklee44v12
|
||||
License: CC-BY Attribution 3.0 Unported
|
Binary file not shown.
Binary file not shown.
|
@ -571,6 +571,10 @@ input[type=button]:active, select:active {
|
|||
display: none;
|
||||
}
|
||||
|
||||
#noVNC_bell {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ----------------------------------------
|
||||
* Media sizing
|
||||
* ----------------------------------------
|
||||
|
|
|
@ -341,6 +341,7 @@ var UI;
|
|||
'onUpdateState': UI.updateState,
|
||||
'onXvpInit': UI.updateXvpButton,
|
||||
'onClipboard': UI.clipboardReceive,
|
||||
'onBell': UI.bell,
|
||||
'onFBUComplete': UI.initialResize,
|
||||
'onFBResize': UI.updateViewDrag,
|
||||
'onDesktopName': UI.updateDocumentTitle});
|
||||
|
@ -1524,6 +1525,12 @@ var UI;
|
|||
document.title = name + " - noVNC";
|
||||
},
|
||||
|
||||
bell: function(rfb) {
|
||||
if (WebUtil.getConfigVar('bell', 'on') === 'on') {
|
||||
document.getElementById('noVNC_bell').play();
|
||||
}
|
||||
},
|
||||
|
||||
//Helper to add options to dropdown.
|
||||
addOption: function(selectbox, text, value) {
|
||||
var optn = document.createElement("OPTION");
|
||||
|
|
Loading…
Reference in New Issue