When adding a field, the field name is not optional.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 2 Apr 2011 22:13:11 +0000 (00:13 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 2 Apr 2011 22:13:11 +0000 (00:13 +0200)
src/main/resources/templates/editProfile.html

index ecde2f7..fea58a8 100644 (file)
@@ -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>