Skip to content
  1. Feb 25, 2011
  2. Dec 02, 2009
    • Jay Callicott's avatar
      fixing admin block issue · 6015b346
      Jay Callicott authored
      6.x-1.2
      6015b346
    • Jay Callicott's avatar
      #3 · fd3fa725
      Jay Callicott authored
      thtas - August 25, 2009 - 18:13
      
      Line 82 of jquery_dropdown.js
      
      so it would look like this
      
      //this is the event for when you select a fake option
        $("ul.jquery_dropdown_list li a").click(function(){
      
          $(this).parent("li").parent('ul').parent("div.jquery_dropdown_container").find("div.jquery_dropdown_header").text($(this).text());
          $(this).parent("li").parent('ul').parent("div.jquery_dropdown_container").find("ul.jquery_dropdown_list").hide();
      
          $("#"+$(this).attr('class')).val($(this).attr('rel'));//set value to select
      
          $(this).trigger("jquery_dropdown_list_refreshed");//trigger the onchange event of our drop down when we click a fake option
          $('#'+select_id).trigger("onchange");
      
          return false;
        });
      6.x-1.1
      fd3fa725
  3. Sep 15, 2009
  4. Aug 14, 2009
  5. May 11, 2009