Merge pull request #370 from hmhealey/mm1812

MM-1812 Provide warnings on team invite screens when email is disabled
Этот коммит содержится в:
Christopher Speller
2015-08-14 08:48:24 -04:00
родитель a8930cbabe 8fc4456213
Коммит 92c4df5b10
10 изменённых файлов: 546 добавлений и 292 удалений

Просмотреть файл

@@ -880,3 +880,18 @@ module.exports.updateValetFeature = function(data, success, error) {
module.exports.track('api', 'api_teams_update_valet_feature');
};
function getConfig(success, error) {
$.ajax({
url: '/api/v1/config/get_all',
dataType: 'json',
type: 'GET',
ifModified: true,
success: success,
error: function(xhr, status, err) {
var e = handleError('getConfig', xhr, status, err);
error(e);
}
});
};
module.exports.getConfig = getConfig;