valpackett / transmitter

A WebExtension for the Transmission BitTorrent client
The Unlicense
102 stars 16 forks source link

Problem with non standard URL #12

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi,

I have a custom URL for transmission ( /t/ instead of /transmission/) and am getting UI freezes when I try to save. I can save if I enter the /transmission/ URL.

ghost commented 6 years ago

This code

if (!data.base_url.endsWith('/transmission/')) {
    alert('WARNING: Server URL does not end with /transmission/ — make sure it is actually correct!')

}

Should be replaced with a communications check and error displayed below where the "save success" is displayed. I don't get an alert btw.

Thanks

valpackett commented 6 years ago

Released version 1.1.1, the warning is now on the page.