Project

General

Profile

Patch #26395 » focus-selected-project-drdn.patch

Gabriel Cardoso, 2017-07-10 10:45

View differences:

public/javascripts/application.js
120 120
function addFilter(field, operator, values) {
121 121
  var fieldId = field.replace('.', '_');
122 122
  var tr = $('#tr_'+fieldId);
123
  
123

  
124 124
  var filterOptions = availableFilters[field];
125 125
  if (!filterOptions) return;
126 126

  
......
598 598
        drdn.find(".autocomplete").focus();
599 599
      }
600 600
      e.stopPropagation();
601
      $('.drdn-items a.selected').focus();
601 602
    }
602 603
  });
603 604
  $(document).click(function(e){
604 605
    if ($(e.target).closest(".drdn").length < 1) {
605 606
      $(".drdn.expanded").removeClass("expanded");
606
    } 
607
    }
607 608
  });
608 609

  
609 610
  observeSearchfield('projects-quick-search', null, $('#projects-quick-search').data('automcomplete-url'));
(1-1/2)