You can no longer open a whole stack of Prefs windows, or Create Torrent windows Simplifies and fixes behavior when dropping files onto the app or the dock icon. Before, you could use drag-drop to create stacks of Create Torrent windows. Now, you can only create torrents from the home screen. Fixes #665
27 lines
707 B
JavaScript
27 lines
707 B
JavaScript
const React = require('react')
|
|
|
|
const {dispatcher} = require('../lib/dispatcher')
|
|
|
|
module.exports = class CreateTorrentErrorPage extends React.Component {
|
|
render () {
|
|
return (
|
|
<div className='create-torrent'>
|
|
<h2>Create torrent</h2>
|
|
<p className='torrent-info'>
|
|
<p>
|
|
Sorry, you must select at least one file that is not a hidden file.
|
|
</p>
|
|
<p>
|
|
Hidden files, starting with a . character, are not included.
|
|
</p>
|
|
</p>
|
|
<p className='float-right'>
|
|
<button className='button-flat light' onClick={dispatcher('cancel')}>
|
|
Cancel
|
|
</button>
|
|
</p>
|
|
</div>
|
|
)
|
|
}
|
|
}
|