showDeleteImageDialog: function()

in aws-ecs-server/src/main/resources/buildServerResources/ecsSettings.js [504:516]


    showDeleteImageDialog: function ($elem) {
        var imageId = $elem.parents(this.selectors.imagesTableRow).data('image-id');

        BS.ajaxUpdater($("ecsDeleteImageDialogBody"), BS.Ecs.DeleteImageDialog.url + window.location.search, {
            method: 'get',
            parameters : {
                imageId : imageId
            },
            onComplete: function() {
                BS.Ecs.DeleteImageDialog.show(imageId);
            }
        });
    },