Explorar o código

Merge pull request #618 from netounet/patch-1

Fix subject for set_object_field_value on status KO
Thomas %!s(int64=13) %!d(string=hai) anos
pai
achega
727f859a83
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
                     }
                 }
             });