mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-30 19:45:57 +00:00
17 lines
478 B
JavaScript
17 lines
478 B
JavaScript
'use strict';
|
|
define(
|
|
[
|
|
'Cells/TemplatedCell',
|
|
'Cells/Edit/QualityCellEditor'
|
|
], function (TemplatedCell, QualityCellEditor) {
|
|
return TemplatedCell.extend({
|
|
|
|
className: 'quality-cell',
|
|
template : 'Cells/QualityCellTemplate',
|
|
editor : QualityCellEditor,
|
|
|
|
_startEditing: function (model, column, cell, editor) {
|
|
editor._setOptions({ cell: cell });
|
|
}
|
|
});
|
|
});
|