From 3e048d707273392a97fbcea95f18d149d1198caf Mon Sep 17 00:00:00 2001 From: Don Mitchell Date: Wed, 23 Jan 2013 14:15:09 -0500 Subject: [PATCH] Removed old function --- cms/static/js/base.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cms/static/js/base.js b/cms/static/js/base.js index 741b017210..dd47f93cce 100644 --- a/cms/static/js/base.js +++ b/cms/static/js/base.js @@ -274,15 +274,6 @@ function expandSection(event) { $(event.delegateTarget).find('.expand-collapse-icon').removeClass('expand').addClass('collapse'); } -function checkDropValidity(event, ui) { - var posInDestination = ui.item.position().top - $(event.target).position().top; - if (posInDestination <= -ui.item.height() || posInDestination >= $(event.target).height()) { - $(event.target).sortable("cancel"); - return false; - } - return true; -} - function onUnitReordered(event, ui) { // a unit's been dropped on this subsection, // figure out where it came from and where it slots in.