Skip to content

Commit

Permalink
fixed action for after delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevnz committed Feb 23, 2012
1 parent 2f86e74 commit 7a62813
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions public/javascripts/n.js
Expand Up @@ -153,9 +153,8 @@ Array.prototype.clean = function(deleteValue) {
url:"/api" + href ,
type:"DELETE",
success:function(r) {
if(r.status && r.status == "success") {
alert('YUS');
//window.location = "/apps";
if(r.status && r.status == "success") {
window.location = "/apps";
} else {
// error
}
Expand Down

0 comments on commit 7a62813

Please sign in to comment.