Don’t copy the value, the input field is disabled anyway.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 21 Oct 2010 08:57:01 +0000 (10:57 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 21 Oct 2010 08:57:01 +0000 (10:57 +0200)
src/main/resources/static/javascript/sone.js

index ab16ba3..200c870 100644 (file)
@@ -18,7 +18,6 @@ function registerInputTextareaSwap(inputSelector, defaultText, inputFieldName) {
                                if (textarea.val() == "") {
                                        return false;
                                }
-                               $(inputField).val(textarea.val());
                        });
                })(this, textarea);
        });