Fixed bug where text could not be re-edited after creation

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1540 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-04-22 15:58:31 +00:00
parent 1f00603359
commit 919457b995
1 changed files with 4 additions and 2 deletions

View File

@ -1827,8 +1827,10 @@
var unfocus = function() {
$(inp).blur();
}
$('#svg_editor input:text').focus(function() {
// Do not include the #text input, as it needs to remain focused
// when clicking on an SVG text element.
$('#svg_editor input:text:not(#text)').focus(function() {
inp = this;
workarea.mousedown(unfocus);
}).blur(function() {