Fix save error causing modal to break (#790)

This commit is contained in:
Ian B
2013-02-16 15:06:57 +01:00
parent 90308b3a75
commit 74cfb750bb
+1 -1
View File
@@ -41,7 +41,7 @@ iD.ui.Save = function(context) {
history.reset();
map.flush().redraw();
if (err) {
var desc = iD.ui.confirm()
var desc = iD.ui.confirm(context.container())
.select('.description');
desc.append('h2')
.text(t('save.error'));