fix for jquery modal dialogs which doesn't break selection

This commit is contained in:
nightwing 2011-12-08 21:01:23 +04:00
commit 85e087f87d
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@
.ace_editor textarea {
position: fixed;
z-index: 2000;
z-index: 0;
width: 10px;
height: 30px;
opacity: 0;

View file

@ -50,7 +50,7 @@ var TextInput = function(parentNode, host) {
text.setAttribute("x-palm-disable-auto-cap", true);
text.style.left = "-10000px";
parentNode.appendChild(text);
parentNode.insertBefore(text, parentNode.firstChild);
var PLACEHOLDER = String.fromCharCode(0);
sendText();