mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 575993 - Sync Now and Disconnect buttons clickable before being connected [r=mbrubeck]
This commit is contained in:
parent
7d9092984e
commit
686aef48de
@ -438,14 +438,14 @@
|
||||
<setting id="sync-user" type="string" title="&sync.username;" />
|
||||
<setting id="sync-pass" type="string" inputtype="password" title="&sync.password;" />
|
||||
<setting id="sync-secret" type="string" inputtype="password" title="&sync.secretPhrase;" />
|
||||
<setting id="sync-device" type="string" title="&sync.deviceName;" onchange="WeaveGlue.changeName(this)"/>
|
||||
<setting id="sync-device" type="string" title="&sync.deviceName;" onchange="WeaveGlue.changeName(this)" collapsed="true"/>
|
||||
<setting id="sync-connect" type="control">
|
||||
<button label="&sync.connect;" oncommand="WeaveGlue.connect();" />
|
||||
</setting>
|
||||
<setting id="sync-disconnect" type="control">
|
||||
<setting id="sync-disconnect" type="control" collapsed="true">
|
||||
<button label="&sync.disconnect;" oncommand="WeaveGlue.disconnect();" />
|
||||
</setting>
|
||||
<setting id="sync-sync" type="control">
|
||||
<setting id="sync-sync" type="control" collapsed="true">
|
||||
<button id="sync-syncButton" label="&sync.syncNow;" oncommand="WeaveGlue.sync();" />
|
||||
</setting>
|
||||
</settings>
|
||||
|
@ -40,6 +40,9 @@ let WeaveGlue = {
|
||||
|
||||
this._addListeners();
|
||||
|
||||
// Initialize the UI now
|
||||
this._updateOptions();
|
||||
|
||||
// Generating keypairs is expensive on mobile, so disable it
|
||||
Weave.Service.keyGenEnabled = false;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user