summaryrefslogtreecommitdiff
path: root/assets/js/components/external-task-view.js
blob: d402640b98281c719af777667431c6e35cf397d2 (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.dom(containerElement).html('<div id="external-task-view">' + data + '</div>');
            }
        });
    };
});