Skip to content

Commit

Permalink
Fix export view.
Browse files Browse the repository at this point in the history
  • Loading branch information
Young Hahn committed Feb 28, 2011
1 parent 5181ff9 commit f1bca02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/css/tilemill.css
Expand Up @@ -65,6 +65,7 @@ h3 { font-size:13px; }
left:0px;
right:0px;
top:0px;
height:20px;
padding:15px 10px;
}

Expand Down
3 changes: 3 additions & 0 deletions client/js/export.js
Expand Up @@ -403,6 +403,9 @@ var ExportDropdownView = DropdownView.extend({
if (!this.FORMAT[format]) {
window.app.message('Error', 'Unsupported export format.', 'error');
} else {
// Close all drawers. This is quite a hack, but better than the
// other options atm...
$('.drawer a.close').click();
new this.FORMAT[format]({
model: new Export({
project: this.project.id,
Expand Down

0 comments on commit f1bca02

Please sign in to comment.