Browse Source

Merge pull request #618 from netounet/patch-1

Fix subject for set_object_field_value on status KO
Thomas 13 years ago
parent
commit
727f859a83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/public/base.js

+ 1 - 1
Resources/public/base.js

@@ -140,7 +140,7 @@ var Admin = {
                         elm.effect("highlight", {'color' : '#57A957'}, 2000);
                         Admin.set_object_field_value(elm);
                     } else {
-                        jQuery(a).parent().effect("highlight", {'color' : '#C43C35'}, 2000);
+                        jQuery(subject).parent().effect("highlight", {'color' : '#C43C35'}, 2000);
                     }
                 }
             });