Make "Select directory …" button a WIP feature as it is broken
* Not sure yet whether it is worthwhile fixing this hack as it might break again if Syncthing changes something in the official UI * See https://github.com/Martchus/syncthingtray/issues/165
This commit is contained in:
parent
a30f3d4062
commit
71675c7b18
|
@ -317,6 +317,9 @@ void WebPage::injectJavaScripts(bool ok)
|
|||
{
|
||||
Q_UNUSED(ok)
|
||||
// show folder path selection when double-clicking input
|
||||
if (!Settings::values().enableWipFeatures) {
|
||||
return;
|
||||
}
|
||||
injectJavaScript(QStringLiteral("var button = jQuery('<button type=\"button\" class=\"btn btn-sm\" "
|
||||
"style=\"float: right;\">Select directory …</button>');"
|
||||
"button.click(function(event) {"
|
||||
|
|
Loading…
Reference in New Issue