Restore background color and close button to save headers

This commit is contained in:
John Firebaugh
2013-05-29 19:11:49 -07:00
parent a7e2bc43c1
commit 405fc899a9
2 changed files with 14 additions and 2 deletions

View File

@@ -31,7 +31,13 @@ iD.ui.Commit = function(context) {
function changesLength(d) { return changes[d].length; }
var header = selection.append('div')
.attr('class', 'header');
.attr('class', 'header fillL');
header.append('button')
.attr('class', 'fr')
.append('span')
.attr('class', 'icon close')
.on('click', event.cancel);
header.append('h3')
.text(t('commit.title'));

View File

@@ -7,7 +7,13 @@ iD.ui.Success = function(context) {
' ' + context.connection().changesetURL(changeset.id);
var header = selection.append('div')
.attr('class', 'header');
.attr('class', 'header fillL');
header.append('button')
.attr('class', 'fr')
.append('span')
.attr('class', 'icon close')
.on('click', event.cancel);
header.append('h3')
.text(t('just_edited'));