Skip to content

Commit 6e02fb9

Browse files
committed
UI Plugins, API call helper: Add 'pollAyncJobResult' helper, allow passing data
1 parent 5b8e4b9 commit 6e02fb9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ui/scripts/plugins.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
};
1313

1414
var pluginAPI = {
15+
pollAsyncJob: pollAsyncJobResult,
1516
apiCall: function(command, args) {
1617
$.ajax({
1718
url: createURL(command),
19+
data: args.data,
1820
success: args.success,
1921
error: function(json) {
2022
args.error(parseXMLHttpResponse(json));

0 commit comments

Comments
 (0)