Skip to content

Commit c6fa9f4

Browse files
committed
Fix missing resetvalue in ui/scripts/system.js
1 parent 3970f8d commit c6fa9f4

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

ui/scripts/system.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21248,7 +21248,25 @@
2124821248
args.response.error(parseXMLHttpResponse(json));
2124921249
}
2125021250
});
21251-
}
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+
}
2125221270
}
2125321271
})
2125421272
}

0 commit comments

Comments
 (0)