Sha256: 62da602fd7b6548f3a7369b3ea9118801e41bdcd5b0413a162aa1524b4dd2df7
Contents?: true
Size: 817 Bytes
Versions: 34
Compression:
Stored size: 817 Bytes
Contents
spud.admin.cms.menu_items = {}; (function() { var menu_items = spud.admin.cms.menu_items; menu_items.init = function() { return; $('.sortable').sortable({ connectWith:".connectedSortable", start: function(event,ui) { $('#root_menu_list').addClass('menu_edit'); }, axis:"y", tolerance:'pointer', cursor: "move", items:'li', stop: function(event,ui) { $('#root_menu_list').removeClass('menu_edit'); }, over: function(event,ui) { var source = ui.item[0]; var destination = $(event.target); $('ul.left_guide').removeClass('left_guide'); if(destination.hasClass('subitem')) { destination.addClass('left_guide'); } } }).disableSelection(); }; })();
Version data entries
34 entries across 34 versions & 2 rubygems