Removes name prefix of renamed photos

This commit is contained in:
Hubblenaut
2014-05-19 23:41:53 +02:00
parent 7eb6f83932
commit 40c90a88d6

View File

@@ -68,7 +68,7 @@
var/n_name = copytext(sanitize(input(usr, "What would you like to label the photo?", "Photo Labelling", null) as text), 1, MAX_NAME_LEN)
//loc.loc check is for making possible renaming photos in clipboards
if(( (loc == usr || (loc.loc && loc.loc == usr)) && usr.stat == 0))
name = "photo[(n_name ? text("- '[n_name]'") : null)]"
name = "[(n_name ? text("[n_name]") : null)]"
add_fingerprint(usr)
return