summaryrefslogtreecommitdiffstats
path: root/apps/gallery/js
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2012-01-14 13:52:24 +0100
committerBartek Przybylski <bart.p.pl@gmail.com>2012-01-14 13:52:24 +0100
commit06388e13394e026c5dd70b36c1ab65238d1cc254 (patch)
tree62ff3689f9377c43c763dcd6d84f6a33c90598ca /apps/gallery/js
parenta9878dca6d16258ac7ce3d1e7415b88ef30e9491 (diff)
downloadnextcloud-server-06388e13394e026c5dd70b36c1ab65238d1cc254.tar.gz
nextcloud-server-06388e13394e026c5dd70b36c1ab65238d1cc254.zip
handling directory renaming and thumbnail move on gallery name chenge
Diffstat (limited to 'apps/gallery/js')
-rw-r--r--apps/gallery/js/album_cover.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/js/album_cover.js b/apps/gallery/js/album_cover.js
index 84a89c5a91f..0009eb04e4f 100644
--- a/apps/gallery/js/album_cover.js
+++ b/apps/gallery/js/album_cover.js
@@ -58,7 +58,7 @@ function galleryRemove(albumName) {
}
function galleryRename(name) {
- var result = window.prompt("Input new gallery name", "");
+ var result = window.prompt("Input new gallery name", name);
if (result) {
if (Albums.find(result)) {
alert("Album named '" + result + "' already exists");