Skip to content

Commit

Permalink
Only enable buttons that are disabled on overlay load. Refs #180
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Deyen committed Mar 8, 2012
1 parent bef5d3b commit 4436dfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/alchemy/alchemy.windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ if (typeof(Alchemy) === 'undefined') {
Alchemy.AjaxErrorHandler($dialog, XMLHttpRequest.status, textStatus, errorThrown);
},
complete: function(jqXHR, textStatus) {
Alchemy.enableButton('.button');
Alchemy.enableButton('.button.disabled');
}
});
},
Expand Down
3 changes: 1 addition & 2 deletions app/assets/stylesheets/alchemy/buttons.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ input.button {
}

button.button {
line-height: 21px;
padding: 0px 8px;
padding: 4px 8px;
}

.button img {
Expand Down

0 comments on commit 4436dfb

Please sign in to comment.