Skip to content

Commit

Permalink
[#313] Fixed jQuery selector chain.
Browse files Browse the repository at this point in the history
  • Loading branch information
peeb committed Nov 6, 2013
1 parent b1785e6 commit 8a9fad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion akvo/templates/admin/rsr/project/change_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h2>{% trans 'Adding and Editing Projects.' %}</h2>
{# Disable save buttons after they have been clicked #}
<script type="text/javascript">
(function($) {
var buttons = $(".submit-row :button");
var buttons = $(".submit-row").find("input:submit");
buttons.click(function(){
buttons.attr("disabled", true);
});
Expand Down

0 comments on commit 8a9fad9

Please sign in to comment.