Fix posting.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 30 Dec 2010 22:10:59 +0000 (23:10 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 30 Dec 2010 22:10:59 +0000 (23:10 +0100)
src/main/resources/static/javascript/sone.js

index 77d401a..ad23acd 100644 (file)
@@ -842,7 +842,7 @@ $(document).ready(function() {
        getTranslation("WebInterface.DefaultText.StatusUpdate", function(defaultText) {
                registerInputTextareaSwap("#sone #update-status .status-input", defaultText, "text", false, false);
                $("#sone #update-status").submit(function() {
-                       if ($(this).find(":input").hasClass("default")) {
+                       if (!$(this).find(":input.default").hasAttr("disabled")) {
                                return false;
                        }
                        text = $(this).find(":input:enabled").val();