Skip to content

Commit

Permalink
better production names
Browse files Browse the repository at this point in the history
  • Loading branch information
eteubert committed Jul 26, 2013
1 parent 64c73b5 commit 851abbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/modules/auphonic/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,9 @@ var PODLOVE = PODLOVE || {};
output_basename = $.trim(value.output_basename),
production_title, option_title;

if (output_basename.length) {
if (value.metadata.title) {
production_title = value.metadata.title;
} else if (output_basename.length) {
production_title = output_basename;
} else {
production_title = '(no title)';
Expand Down

0 comments on commit 851abbe

Please sign in to comment.