summaryrefslogtreecommitdiff
path: root/assets/js/components/external-task-view.js
blob: b63e79d3ebdf0f664378a082f3c87ff0274908ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
KB.component('external-task-view', function (containerElement, options) {

    this.render = function () {
        $.ajax({
            cache: false,
            url: options.url,
            success: function(data) {
                KB.el(containerElement).html('<div id="external-task-view">' + data + '</div>');
            }
        });
    }
});