app/soc/content/js/menu-081026.js
author Pawel Solyga <Pawel.Solyga@gmail.com>
Mon, 03 Nov 2008 15:03:09 +0000
changeset 436 f3c313d54aa4
parent 426 114fe0f840c8
permissions -rw-r--r--
Add missing TODOs to soc.logic.models classes. Fix comments format in base.Logic class. Changes based on comments to r972. http://code.google.com/p/soc/source/detail?r=972 Patch by: Pawel Solyga

$(function() {
  var li = $('#side #menu span').parents('li').filter(':has(ul)');
  li.children('a').dblclick(function() {
    window.location = $(this).attr('href');
  }).add(li.children('span')).click(function() {
    $($(this).parents('li')[0]).toggleClass('closed').children("ul").toggle();
    return false;
  });
});
$(function() {
  var li = $('#side #menu span').parents('li').filter(':has(ul)');
  li.children('a').dblclick(function() {
    window.location = $(this).attr('href');
  }).add(li.children('span')).click(function() {
    $($(this).parents('li')[0]).toggleClass('closed').children("ul").toggle();
    return false;
  });
});
$(function() {
  var li = $('#side #menu span').parents('li').filter(':has(ul)');
  li.children('a').dblclick(function() {
    window.location = $(this).attr('href');
  }).add(li.children('span')).click(function() {
    $($(this).parents('li')[0]).toggleClass('closed').children("ul").toggle();
    return false;
  });
});