Show access granted label next to Google Drive and Dropbox storage in configuration
This commit is contained in:
parent
be32625fcc
commit
b6b2f8826b
2 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,8 @@ $(document).ready(function() {
|
|||
OC.dialogs.alert(result.data.message, 'Error configuring Dropbox storage');
|
||||
}
|
||||
});
|
||||
} else if ($(this).find('.configuration #granted').length == 0) {
|
||||
$(this).find('.configuration').append('<span id="granted">Access granted</span>');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,6 +22,8 @@ $(document).ready(function() {
|
|||
OC.dialogs.alert(result.data.message, 'Error configuring Google Drive storage');
|
||||
}
|
||||
});
|
||||
} else if ($(this).find('.configuration #granted').length == 0) {
|
||||
$(this).find('.configuration').append('<span id="granted" style="padding-left:0.5em;">Access granted</span>');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue