Need to retain the accessKey defaults to be able to show them in the UI

This commit is contained in:
Wolfgang Nagele 2013-12-24 17:21:22 +01:00
parent 4e20f70bfd
commit 5342637132
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@
label: function() {
return this.accessKey;
},
defaults: {
accessKey: { value: "", required: true }
},
oneditprepare: function() {
$.getJSON("aws-credentials/" + this.id, function(data) {
if (data.accessKey) {