From: David ‘Bombe’ Roden Date: Sat, 2 Apr 2011 22:13:11 +0000 (+0200) Subject: When adding a field, the field name is not optional. X-Git-Tag: 0.6^2~2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2d71e6e08455fded13ebfb7327e4ab23068ab0b3;p=Sone.git When adding a field, the field name is not optional. --- diff --git a/src/main/resources/templates/editProfile.html b/src/main/resources/templates/editProfile.html index ecde2f7..fea58a8 100644 --- a/src/main/resources/templates/editProfile.html +++ b/src/main/resources/templates/editProfile.html @@ -28,7 +28,7 @@ registerInputTextareaSwap("#sone #edit-profile input[name=birth-year]", birthYearDefaultText, "birth-year", true, true); }); getTranslation("WebInterface.DefaultText.FieldName", function(fieldNameDefaultText) { - registerInputTextareaSwap("#sone #add-profile-field input[name=field-name]", fieldNameDefaultText, "field-name", true, true); + registerInputTextareaSwap("#sone #add-profile-field input[name=field-name]", fieldNameDefaultText, "field-name", false, true); }); <%foreach fields field>