--- block_edit.module	2008-10-21 22:07:31.000000000 -0600
+++ block_editNEW.module	2009-04-11 18:27:55.000000000 -0600
@@ -14,6 +14,8 @@ function block_edit_init() {
   if ( user_access('administer blocks') ) {
     if (function_exists('drupal_get_path')){
       $mpath = drupal_get_path('module', 'block_edit');
+      $js = "var destination = '". drupal_get_destination() ."';";
+      drupal_add_js($js, 'inline');
       drupal_add_js($mpath . '/block_edit.js' );
       drupal_add_css($mpath . '/block_edit.css' );    
     }
