]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1270479 - Unsetting the needinfo checks the needinfo checkbox
authorDavid Lawrence <dkl@mozilla.com>
Thu, 5 May 2016 21:39:06 +0000 (21:39 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Thu, 5 May 2016 21:39:06 +0000 (21:39 +0000)
extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl

index f350fb7f5ecde4feef2d2b0770ad5bf8475bf817..3a3bc7325b627a56d137055f7e838aabd2b561c1 100644 (file)
@@ -136,7 +136,7 @@ $(function() {
   }
 
   function needinfo_from_changed() {
-    $('#needinfo').prop('checked', $('#needinfo_from').val !== '');
+    $('#needinfo').prop('checked', $('#needinfo_from').val() !== '');
   }
 
   $(function() {