normalize rating to fsk

This commit is contained in:
Luke Pulverenti 2016-09-18 01:52:10 -04:00
parent 1f57d9b231
commit 2971ec0e69
86 changed files with 388 additions and 136 deletions

View file

@ -409,26 +409,18 @@
return;
}
var msg = globalize.translate('sharedcomponents#TheSelectedItemsWillBeGrouped');
loading.show();
require(['confirm'], function (confirm) {
apiClient.ajax({
confirm(msg, globalize.translate('sharedcomponents#GroupVersions')).then(function () {
type: "POST",
url: apiClient.getUrl("Videos/MergeVersions", { Ids: selection.join(',') })
loading.show();
}).then(function () {
apiClient.ajax({
type: "POST",
url: apiClient.getUrl("Videos/MergeVersions", { Ids: selection.join(',') })
}).then(function () {
loading.hide();
hideSelections();
dispatchNeedsRefresh();
});
});
loading.hide();
hideSelections();
dispatchNeedsRefresh();
});
}