readium / readium-js-viewer

👁 ReadiumJS viewer: default web app for Readium.js library
BSD 3-Clause "New" or "Revised" License
551 stars 186 forks source link

Incorrect option on Cloud Reader Add to Library dialog #189

Open becka11y opened 10 years ago

becka11y commented 10 years ago

Selecting the Add to Library button in the cloud reader displays the dialog with only the From Local File option displayed. This option requires choosing an .epub file. That option does not work in the cloud reader. But, the dialog does not allow selecting an unpacked directory - the Choose button remains greyed out unless you choose an actual file.

The canHandleDirectory config variable does not appear to be defined for the cloud Reader and the From Local File option is always enabled in the dialog (there is no config check). Perhaps this is not an issue because the function of adding books should be a function of the hosting web server????

Running the cloud reader via a local web server in Safari or Chrome on OS X 10.9.4

danielweck commented 10 years ago

Related issue: https://github.com/readium/readium-js-viewer/issues/82