return;
}
- var params = {
- id : record.data.id,
- client_id : record.data.client_id,
- client_secret : record.data.client_secret
- };
-
- if(record.data.redirect_uri.length){
- params.redirect_uri = record.data.redirect_uri;
- }
-
new Pman.Request({
url : baseURL + '/Roo/Core_oauth_clients',
method : 'POST',
- params : params,
+ params : {
+ id : record.data.id,
+ client_id : record.data.client_id,
+ client_secret : record.data.client_secret,
+ redirect_uri : record.data.redirect_uri
+ },
success : function(res) {
_this.grid.footer.onClick('refresh');
}
var r = _this.grid.ds.getAt(cs[0]);
- Roo.MessageBox.confirm("Confirm", "Are sure you want to delete this client?", function (v){
+ Roo.MessageBox.confirm("Confirm", "Are you sure you want to delete this client?", function (v){
if (v != 'yes') {
return;
}