mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
Merge pull request #5 from ascribe/AD-1209-Sort-by-widget-is-using-wrong-native-UI-elements
Change input type in PieceListToolbarOrderWidget from "checkbox" to "…
This commit is contained in:
commit
969d2f8b34
@ -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