Renamed name
to title
and added shortcut for tags and description.
This commit is contained in:
parent
31d2bbfe28
commit
032e972ece
File diff suppressed because one or more lines are too long
@ -302,7 +302,7 @@ build = {
|
||||
|
||||
infos = [
|
||||
["", "Basics"],
|
||||
["Name", photoJSON.title + editTitleHTML],
|
||||
["Title", photoJSON.title + editTitleHTML],
|
||||
["Uploaded", photoJSON.sysdate],
|
||||
["Description", photoJSON.description + editDescriptionHTML],
|
||||
["", "Image"],
|
||||
@ -414,7 +414,7 @@ build = {
|
||||
|
||||
infos = [
|
||||
["", "Basics"],
|
||||
["Name", albumJSON.title + editTitleHTML],
|
||||
["Title", albumJSON.title + editTitleHTML],
|
||||
["Description", albumJSON.description + editDescriptionHTML],
|
||||
["", "Album"],
|
||||
["Created", albumJSON.sysdate],
|
||||
|
@ -77,7 +77,18 @@ $(document).ready(function(){
|
||||
.bind(['r', 'ctrl+r'], function(e) {
|
||||
e.preventDefault();
|
||||
if (visible.album()) album.setTitle(album.getID());
|
||||
else if (visible.photo()) photo.setTitle(photo.getID());
|
||||
else if (visible.photo()) photo.setTitle([photo.getID()]);
|
||||
})
|
||||
.bind(['d', 'ctrl+d'], function(e) {
|
||||
e.preventDefault();
|
||||
if (visible.photo()) photo.setDescription(photo.getID());
|
||||
else if (visible.album()) album.setDescription(album.getID());
|
||||
})
|
||||
.bind(['t', 'ctrl+t'], function(e) {
|
||||
if (visible.photo()) {
|
||||
e.preventDefault();
|
||||
photo.editTags([photo.getID()]);
|
||||
}
|
||||
})
|
||||
.bind(['i', 'ctrl+i'], function() {
|
||||
if (visible.infobox()) view.infobox.hide();
|
||||
|
Loading…
Reference in New Issue
Block a user