//-- copyright
// Copyright (C)2013-2014 the OpenProject Foundation (OPF)
// Copyright (C)2011 Stephan Eckardt, Tim Felgentreff, Marnen Laibow-Koser, Sandro Munda
// Copyright (C)2010-2011 friflaj
// Copyright (C)2010 Maxime Guilbot, Andrew Vit, Joakim Kolsjö, ibussieres, Daniel Passos, Jason Vasquez, jpic, Emiliano Heyns
// Copyright (C)2009-2010 Mark Maglana
// Copyright (C)2009 Joe Heck, Nate Lowrie
// The copyright follows:
// Copyright (C) 2010-2011 - Emiliano Heyns, Mark Maglana, friflaj
// Copyright (C) 2011 - Jens Ulferts, Gregor Schmidt - Finn GmbH - Berlin, Germany
// See doc/COPYRIGHT.rdoc for more details.
jQuery(function(e){if(e(".backlog").each(function(){RB.Factory.initialize(RB.Backlog,this)}),e.browser.msie&&e.browser.version<=7){var t=50;e(".backlog, .header").each(function(){e(this).css("z-index",t),t-=1})}e(".backlog .toggler").on("click",function(){e(this).toggleClass("closed"),e(this).parents(".backlog").find("ul.stories").toggleClass("closed")})});