mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 21:18:35 +00:00
Bug 967479 - Use oncommand attribute to handle button clicks in sync prefpane r=markh
This commit is contained in:
parent
a6ec92b36a
commit
2af2347543
@ -214,7 +214,7 @@
|
||||
value="&manage.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<vbox align="end">
|
||||
<button onclick="gSyncPane.unlinkFirefoxAccount(true);"
|
||||
<button oncommand="gSyncPane.unlinkFirefoxAccount(true);"
|
||||
label="&disconnect.label;" />
|
||||
</vbox>
|
||||
</hbox>
|
||||
@ -228,7 +228,7 @@
|
||||
</description>
|
||||
<spacer flex="1"/>
|
||||
<vbox align="end">
|
||||
<button onclick="gSyncPane.verifyFirefoxAccount();"
|
||||
<button oncommand="gSyncPane.verifyFirefoxAccount();"
|
||||
label="&verify.label;"/>
|
||||
<label class="text-link"
|
||||
onclick="/* no warning as account can't have previously synced */ gSyncPane.unlinkFirefoxAccount(false);"
|
||||
@ -245,7 +245,7 @@
|
||||
</description>
|
||||
<spacer flex="1"/>
|
||||
<vbox align="end">
|
||||
<button onclick="gSyncPane.reSignIn();"
|
||||
<button oncommand="gSyncPane.reSignIn();"
|
||||
label="&signIn.label;"/>
|
||||
<label class="text-link"
|
||||
onclick="gSyncPane.unlinkFirefoxAccount(true);"
|
||||
|
Loading…
x
Reference in New Issue
Block a user