projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add “album image” to album.
[Sone.git]
/
src
/
main
/
resources
/
static
/
javascript
/
sone.js
diff --git
a/src/main/resources/static/javascript/sone.js
b/src/main/resources/static/javascript/sone.js
index
b6b1257
..
0b28fb7
100644
(file)
--- a/
src/main/resources/static/javascript/sone.js
+++ b/
src/main/resources/static/javascript/sone.js
@@
-1343,11
+1343,16
@@
$(document).ready(function() {
});
/* ajaxify album creation input field. */
});
/* ajaxify album creation input field. */
- getTranslation("WebInterface.DefaultText.
Reply
", function(text) {
- $("#create-album input[
type=text
]").each(function() {
+ getTranslation("WebInterface.DefaultText.
CreateAlbum.Name
", function(text) {
+ $("#create-album input[
name='name'
]").each(function() {
registerInputTextareaSwap(this, text, "name", false, true);
});
});
registerInputTextareaSwap(this, text, "name", false, true);
});
});
+ getTranslation("WebInterface.DefaultText.CreateAlbum.Description", function(text) {
+ $("#create-album input[name='description']").each(function() {
+ registerInputTextareaSwap(this, text, "description", true, true);
+ });
+ });
/* Ajaxifies all posts. */
/* calling getTranslation here will cache the necessary values. */
/* Ajaxifies all posts. */
/* calling getTranslation here will cache the necessary values. */