diff --git a/static/js/pandora/ui/namesDialog.js b/static/js/pandora/ui/namesDialog.js index f1bf05ca8..071c13147 100644 --- a/static/js/pandora/ui/namesDialog.js +++ b/static/js/pandora/ui/namesDialog.js @@ -83,7 +83,7 @@ pandora.ui.namesDialog = function() { submit: function(data) { pandora.api.editName({ id: data.id, - sortname: data.sortname + sortname: data.value }); } }), diff --git a/static/js/pandora/ui/titlesDialog.js b/static/js/pandora/ui/titlesDialog.js index 6ddd38e02..f013ab633 100644 --- a/static/js/pandora/ui/titlesDialog.js +++ b/static/js/pandora/ui/titlesDialog.js @@ -72,10 +72,9 @@ pandora.ui.titlesDialog = function() { ); }, submit: function(data) { - Ox.print('SUBMIT', data) pandora.api.editTitle({ id: data.id, - sortname: data.value + sorttitle: data.value }); } }),