From a39bc2ccb043e95cb05ed36d0d734a6521948584 Mon Sep 17 00:00:00 2001 From: gusreiber Date: Tue, 22 Mar 2016 10:47:18 -0700 Subject: [PATCH] fixing radio reset bug --- war/src/main/js/add-item.js | 1 + 1 file changed, 1 insertion(+) diff --git a/war/src/main/js/add-item.js b/war/src/main/js/add-item.js index fc336e2c24..1c5352aed9 100644 --- a/war/src/main/js/add-item.js +++ b/war/src/main/js/add-item.js @@ -327,6 +327,7 @@ $.when(getItems(jRoot)).done(function(data){ } var $this = $(this).closest('li'); + var $radios = $this.closest('.categories').find('input[type="radio"][name="mode"]').removeAttr('checked'); //if this is a hyperlink, don't move the selection. if($this.find('a:focus').length === 1) {return false;} $this.closest('.categories').find('.active').removeClass('active');