1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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

@ -15,15 +15,15 @@ define(['dialog', 'globalize'], function (dialog, globalize) {
var items = [];
items.push({
name: globalize.translate('sharedcomponents#ButtonOk'),
id: 'ok',
type: 'submit'
name: options.cancelText || globalize.translate('sharedcomponents#ButtonCancel'),
id: 'cancel',
type: options.primary == 'cancel' ? 'submit' : 'cancel'
});
items.push({
name: globalize.translate('sharedcomponents#ButtonCancel'),
id: 'cancel',
type: 'cancel'
name: options.confirmText || globalize.translate('sharedcomponents#ButtonOk'),
id: 'ok',
type: options.primary == 'cancel' ? 'cancel' : 'submit'
});
options.buttons = items;