Skip to content

Commit fd929a5

Browse files
authored
Notifications: email subscriptions - show tooltip for disabled save button (#103340)
1 parent d84efab commit fd929a5

File tree

1 file changed

+3
-0
lines changed
  • client/me/notification-settings/reader-subscriptions

1 file changed

+3
-0
lines changed

client/me/notification-settings/reader-subscriptions/index.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,10 @@ class NotificationSubscriptions extends Component {
343343
) }
344344

345345
<Button
346+
accessibleWhenDisabled
346347
variant="primary"
348+
showTooltip={ ! this.props.hasUnsavedUserSettings }
349+
label={ this.props.translate( 'No unsaved changes' ) }
347350
disabled={ this.props.isUpdatingUserSettings || ! this.props.hasUnsavedUserSettings }
348351
isBusy={ this.props.isUpdatingUserSettings }
349352
onClick={ this.handleSubmitButtonClick }

0 commit comments

Comments
 (0)