We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3970f8d commit c6fa9f4Copy full SHA for c6fa9f4
ui/scripts/system.js
@@ -21248,7 +21248,25 @@
21248
args.response.error(parseXMLHttpResponse(json));
21249
}
21250
});
21251
- }
+ },
21252
+ resetvalue: function(args) {
21253
+ var data = {
21254
+ name: args.data.jsonObj.name
21255
+ };
21256
+ $.ajax({
21257
+ url: createURL('resetConfiguration&imagestoreuuid=' + args.context.secondaryStorage[0].id),
21258
+ data: data,
21259
+ success: function(json) {
21260
+ var item = json.resetconfigurationresponse.configuration;
21261
+ args.response.success({
21262
+ data: item
21263
+ });
21264
21265
+ error: function(json) {
21266
+ args.response.error(parseXMLHttpResponse(json));
21267
+ }
21268
21269
21270
21271
})
21272
0 commit comments