DataObjects/Core_person_signup.php
[Pman.Core] / Pman.Tab.CoreOAuthClient.js
index 0379091..92d36bc 100644 (file)
@@ -86,7 +86,12 @@ Pman.Tab.CoreOAuthClient = new Roo.XComponent({
                                         new Pman.Request({
                                             url : baseURL + '/Roo/Core_oauth_clients',
                                             method : 'POST',
-                                            params : record.data,
+                                            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');
                                             }
@@ -170,7 +175,7 @@ Pman.Tab.CoreOAuthClient = new Roo.XComponent({
                                              
                                                 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;
                                                     }