').append(
+ $('')
+ .addClass('OxSelectable')
+ .css({margin: '16px'})
+ .text(value.error)
+ ),
+ height: Math.round((window.innerHeight - 48) * 0.9),
+ keys: {enter: 'close', escape: 'close'},
+ maximizeButton: true,
+ removeOnClose: true,
+ title: 'Encoding Failed',
+ width: Math.round(window.innerWidth * 0.9)
+ })
+ .open();
+ } else {
+ var ignored = self.$filesList.value(data.id, 'instances')
+ .filter(function(i) {return i.ignore; }).length > 0;
+ pandora.api.editMedia({
+ files: [{
+ id: data.id,
+ ignore: !ignored
+ }]
+ }, function(result) {
+ Ox.Request.clearCache();
+ self.$filesList.reloadList();
+ });
+ }
}
},
'delete': function(data) {