Merge pull request #483 from fabian-z/master

Make noVNC compatible with Content Security Policies
This commit is contained in:
Samuel 2015-05-04 12:17:30 +02:00
commit fc0cdfdb02
3 changed files with 3 additions and 2 deletions

View File

@ -238,6 +238,7 @@ html {
position: relative;
left: -40px;
z-index: -1;
ime-mode: disabled;
}
/*

View File

@ -185,6 +185,7 @@ var UI;
$D("keyboardinput").oninput = UI.keyInput;
$D("keyboardinput").onblur = UI.keyInputBlur;
$D("keyboardinput").onsubmit = function () { return false; };
$D("showExtraKeysButton").onclick = UI.showExtraKeys;
$D("toggleCtrlButton").onclick = UI.toggleCtrl;

View File

@ -70,8 +70,7 @@
style for example -->
<textarea id="keyboardinput" autocapitalize="off"
autocorrect="off" autocomplete="off" spellcheck="false"
mozactionhint="Enter" onsubmit="return false;"
style="ime-mode: disabled;"></textarea>
mozactionhint="Enter"></textarea>
<div id="noVNC_extra_keys">
<input type="image" alt="Extra keys" src="images/showextrakeys.png"
id="showExtraKeysButton" class="noVNC_status_button">