Merge branch 'next' into image-management
[Sone.git] / src / main / resources / static / javascript / sone.js
index 9ef6812..b6b1257 100644 (file)
@@ -1342,6 +1342,13 @@ $(document).ready(function() {
                });
        });
 
+       /* ajaxify album creation input field. */
+       getTranslation("WebInterface.DefaultText.Reply", function(text) {
+               $("#create-album input[type=text]").each(function() {
+                       registerInputTextareaSwap(this, text, "name", false, true);
+               });
+       });
+
        /* Ajaxifies all posts. */
        /* calling getTranslation here will cache the necessary values. */
        getTranslation("WebInterface.Confirmation.DeletePostButton", function(text) {