mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
change status indicator if value was changed
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
ebcb847681
commit
46dd549e80
1 changed files with 13 additions and 1 deletions
|
|
@ -133,11 +133,23 @@
|
|||
},
|
||||
|
||||
_showInputChangeSuccess: function(field) {
|
||||
var $icon = this.$('#' + field + 'form > span');
|
||||
var $icon = this.$('#' + field + 'form > .icon-checkmark');
|
||||
$icon.fadeIn(200);
|
||||
setTimeout(function() {
|
||||
$icon.fadeOut(300);
|
||||
}, 2000);
|
||||
|
||||
if (field === 'twitter' || field === 'webpage')
|
||||
{
|
||||
var verifyStatus = this.$('#' + field + 'form > .verify > #verify-' + field);
|
||||
verifyStatus.attr('title', 'Verify');
|
||||
verifyStatus.attr('src', OC.imagePath('core', 'actions/verify.svg'));
|
||||
verifyStatus.addClass('verify-action');
|
||||
} else if (field === 'email') {
|
||||
var verifyStatus = this.$('#' + field + 'form > .verify > #verify-' + field);
|
||||
verifyStatus.attr('title', 'Verifying...');
|
||||
verifyStatus.attr('src', OC.imagePath('core', 'actions/verifying.svg'));
|
||||
}
|
||||
},
|
||||
|
||||
_setFieldScopeIcon: function(field, scope) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue