fix for jquery modal dialogs which doesn't break selection
This commit is contained in:
parent
decebfc552
commit
85e087f87d
2 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@
|
||||||
|
|
||||||
.ace_editor textarea {
|
.ace_editor textarea {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 2000;
|
z-index: 0;
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ var TextInput = function(parentNode, host) {
|
||||||
text.setAttribute("x-palm-disable-auto-cap", true);
|
text.setAttribute("x-palm-disable-auto-cap", true);
|
||||||
|
|
||||||
text.style.left = "-10000px";
|
text.style.left = "-10000px";
|
||||||
parentNode.appendChild(text);
|
parentNode.insertBefore(text, parentNode.firstChild);
|
||||||
|
|
||||||
var PLACEHOLDER = String.fromCharCode(0);
|
var PLACEHOLDER = String.fromCharCode(0);
|
||||||
sendText();
|
sendText();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue