git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4879fca
)
merge Amisha changes
author
Scott Baker
<smbaker@gmail.com>
Mon, 2 Jun 2014 03:30:30 +0000
(20:30 -0700)
committer
Scott Baker
<smbaker@gmail.com>
Mon, 2 Jun 2014 03:30:30 +0000
(20:30 -0700)
planetstack/templates/admin/dashboard/tenant.html
patch
|
blob
|
history
diff --git
a/planetstack/templates/admin/dashboard/tenant.html
b/planetstack/templates/admin/dashboard/tenant.html
index
07d1e9c
..
bf49471
100644
(file)
--- a/
planetstack/templates/admin/dashboard/tenant.html
+++ b/
planetstack/templates/admin/dashboard/tenant.html
@@
-268,10
+268,14
@@
state: "inactive"
},
type: 'POST',
state: "inactive"
},
type: 'POST',
-
complete
: function () {
+
success
: function () {
$("#tabs-5").empty();
initTenant(); //location.reload();
$("#tabs-5").empty();
initTenant(); //location.reload();
- }
+ },
+ error:function (xhr, textStatus, thrownError){
+ errorDialog("Error:", textStatus + " " + xhr.responseText);
+ }
+
});
});
});
});
@@
-481,8
+485,7
@@
location.reload();
return true;
}
},
return true;
}
},
- success: function (response) {},
- complete: function () {
+ success: function () {
location.reload();
}
});
location.reload();
}
});
@@
-498,7
+501,7
@@
location.reload();
},
async: false,
type: 'POST',
},
async: false,
type: 'POST',
-
complete
: function () {
+
success
: function () {
location.reload();
}
});
location.reload();
}
});
@@
-533,10
+536,12
@@
location.reload();
state: "inactive"
},
type: 'POST',
state: "inactive"
},
type: 'POST',
- success: function (response) {},
- complete: function () {
+ success: function () {
location.reload();
location.reload();
- }
+ },
+ error:function (xhr, textStatus, thrownError){
+ errorDialog("Error:", textStatus + " " + xhr.responseText);
+ }
});
},
Cancel: function () {
});
},
Cancel: function () {