From dbbb7fd196ce388e9b5b3bad2135dc411b3048c5 Mon Sep 17 00:00:00 2001 From: taggon Date: Wed, 31 Aug 2011 02:31:29 +0000 Subject: [PATCH] Support dropped.st event on sitemaps git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8961 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/admin/tpl/js/sitemap.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/admin/tpl/js/sitemap.js b/modules/admin/tpl/js/sitemap.js index fc28e411e..4736c5a42 100644 --- a/modules/admin/tpl/js/sitemap.js +++ b/modules/admin/tpl/js/sitemap.js @@ -118,6 +118,9 @@ $('form.siteMap') $this.slideDown(100, function(){ $this.removeClass('active') }); $li.slideUp(100, function(){ var $par = $li.parent(); $li.remove(); if(!$par.children('li').length) $par.remove() }); + + // trigger 'dropped.st' event + $this.trigger('dropped.st'); }); return false;