Skip to content
Browse files

Fix bug in disabling the delete button

  • Loading branch information...
1 parent 920b3ad commit 20a3ccda45199b9416c94491c671a1ebeabee0a0 @williambr williambr committed Jun 20, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 gui/templates/freeadmin/generic_model_edit.html
View
4 gui/templates/freeadmin/generic_model_edit.html
@@ -76,10 +76,10 @@
"dojo/query",
"dojo/request/xhr",
"dijit/registry"
- ], function(query, xhr) {
+ ], function(query, xhr, registry) {
try {
var form = getForm(button);
- dojo.query('input[type=button],input[type=submit]', form.domNode).forEach(
+ query('input[type=button],input[type=submit]', form.domNode).forEach(
function(inputElem){
registry.getEnclosingWidget(inputElem).set('disabled',true);
}

0 comments on commit 20a3ccd

Please sign in to comment.
Something went wrong with that request. Please try again.