mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
Change input type in PieceListToolbarOrderWidget from "checkbox" to "radio"
This commit is contained in:
parent
1f7addb886
commit
fc4d4dbe17
@ -7,7 +7,7 @@ import DropdownButton from 'react-bootstrap/lib/DropdownButton';
|
||||
import { getLangText } from '../../utils/lang_utils.js';
|
||||
|
||||
|
||||
let PieceListToolbarFilterWidgetFilter = React.createClass({
|
||||
let PieceListToolbarFilterWidget = React.createClass({
|
||||
propTypes: {
|
||||
filterParams: React.PropTypes.arrayOf(
|
||||
React.PropTypes.shape({
|
||||
@ -139,4 +139,4 @@ let PieceListToolbarFilterWidgetFilter = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
export default PieceListToolbarFilterWidgetFilter;
|
||||
export default PieceListToolbarFilterWidget;
|
@ -72,7 +72,7 @@ let PieceListToolbarOrderWidget = React.createClass({
|
||||
</span>
|
||||
<input
|
||||
readOnly
|
||||
type="checkbox"
|
||||
type="radio"
|
||||
checked={param.indexOf(this.props.orderBy) > -1} />
|
||||
</div>
|
||||
</li>
|
||||
|
@ -22,8 +22,6 @@ import PieceListToolbar from './ascribe_piece_list_toolbar/piece_list_toolbar';
|
||||
|
||||
import AscribeSpinner from './ascribe_spinner';
|
||||
|
||||
import AppConstants from '../constants/application_constants';
|
||||
|
||||
import { mergeOptions } from '../utils/general_utils';
|
||||
import { getLangText } from '../utils/lang_utils';
|
||||
import { setDocumentTitle } from '../utils/dom_utils';
|
||||
|
Loading…
Reference in New Issue
Block a user