{"comment":{"url":"https://api.github.com/repos/mfraezz/osf.io/comments/13996349","html_url":"https://github.com/mfraezz/osf.io/commit/377fc68c6814d109950105fec4506d2890debe26#commitcomment-13996349","id":13996349,"user":{"login":"abought","id":2957073,"avatar_url":"https://avatars.githubusercontent.com/u/2957073?v=3","gravatar_id":"","url":"https://api.github.com/users/abought","html_url":"https://github.com/abought","followers_url":"https://api.github.com/users/abought/followers","following_url":"https://api.github.com/users/abought/following{/other_user}","gists_url":"https://api.github.com/users/abought/gists{/gist_id}","starred_url":"https://api.github.com/users/abought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abought/subscriptions","organizations_url":"https://api.github.com/users/abought/orgs","repos_url":"https://api.github.com/users/abought/repos","events_url":"https://api.github.com/users/abought/events{/privacy}","received_events_url":"https://api.github.com/users/abought/received_events","type":"User","site_admin":false},"position":5,"line":401,"path":"website/static/js/apiApplication.js","commit_id":"377fc68c6814d109950105fec4506d2890debe26","created_at":"2015-10-26T21:36:44Z","updated_at":"2015-10-26T21:36:44Z","body":"This seems like a bit of a hack. Since you already set the new value of client secret on the application data object, can you just write the following?\r\n\r\n`self.originalValues( self.appData().serialize() )`\r\n\r\n(A modified version of how we update [the rest](https://github.com/abought/osf.io/blob/develop/website/static/js/apiApplication.js#L269) of the page; the difference being that here you use the existing appData instance, which you already modified, instead of the response from the server)"}}