var PatternFly=PatternFly||{};!function($){PatternFly.combobox=function(selector){$(selector).each(function(){var input=$(this).find(".form-control"),menu=$(this).find(".dropdown-menu"),links=menu.find("li a");$(links).on("click",function(){input.val($(this).html())})})}}(jQuery),function($){PatternFly.multiselect=function(selector){$(selector).multiselect({buttonWidth:"100%",buttonContainer:'',buttonClass:"btn btn-default btn-block"})}}(jQuery),function($){PatternFly.popovers=function(selector){var allpopovers=$(selector);allpopovers.popover(),allpopovers.filter("[data-close=true]").each(function(index,element){var $this=$(element),title=$this.attr("data-original-title")+'';$this.attr("data-original-title",title)}),allpopovers.on("click",function(e){var $this=$(this);$title=$this.next(".popover").find(".popover-title"),$title.find(".close").parent(".popover-title").addClass("closable"),$title.find(".close").on("click",function(){$this.popover("toggle")}),e.preventDefault()})}}(jQuery);