/**
 * Random utilities used thourough the
 * web applications.
 */
Echolibre.Util = {
    inlineEditInput: function (obj) {
        obj.className = 'addBorders';
    },

    removeBorders: function (obj) {
        obj.className = 'noBorders';
    },

    confirmTenantDelete: function(id)
    {
        var r = confirm("Do you want to delete this tenant ?");
        if (r == true) {
            location  = "/agents/tenants/delete?tenantId=" + id;
        }
    }
};
