From: David ‘Bombe’ Roden Date: Thu, 30 Dec 2010 22:10:59 +0000 (+0100) Subject: Fix posting. X-Git-Tag: 0.3.6.1^2~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=dd744d086e479089ff12c3e53d9d7e8a07e2f139;p=Sone.git Fix posting. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 77d401a..ad23acd 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -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();