Skip to content
Browse files

fixed delete tree return url

  • Loading branch information...
1 parent 6d7e84f commit 9fcb29db0d6753a6645d964b01b9a3087f3b3811 @erikdubbelboer committed Mar 10, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 delete.php
  2. +1 −1 index.php
  3. +1 −1 js/index.js
View
2 delete.php
@@ -57,7 +57,7 @@
$redis->delete($key);
}
- die;
+ die('?&s='.$server['id']);
}
?>
View
2 index.php
@@ -34,7 +34,7 @@
$d = &$d[$key[$i]];
}
- // Containing an item named __phpredisadmin__ means it's also a key.
+ // Nodes containing an item named __phpredisadmin__ are also a key, not just a directory.
// This means that creating an actual key named __phpredisadmin__ will make this bug.
$d[$key[count($key) - 1]] = array('__phpredisadmin__' => true);
View
2 js/index.js
@@ -94,7 +94,7 @@ $(function() {
url: this.href,
data: 'post=1',
success: function(url) {
- top.location.href = top.location.pathname;
+ top.location.href = top.location.pathname+url;
}
});
}

0 comments on commit 9fcb29d

Please sign in to comment.
Something went wrong with that request. Please try again.