Commit fc076eb3 authored by yPhil's avatar yPhil
Browse files

Dropbox Oauth tests

parent 4acbf482
Pipeline #398963 passed with stage
in 1 minute and 4 seconds
......@@ -56,10 +56,10 @@ PTL.sync = (function() {
modules: [ Feeds ]
});
// remoteStorage.setApiKeys({
// // dropbox: '8szbmg1lt21r5mx',
// googledrive: '780509727159-374mgusci0u7npve4c8rlviaag3egab4.apps.googleusercontent.com'
// });
remoteStorage.setApiKeys({
// dropbox: '8szbmg1lt21r5mx',
googledrive: '780509727159-374mgusci0u7npve4c8rlviaag3egab4.apps.googleusercontent.com'
});
remoteStorage.on('connected', function() {
PTL.synchronized = true;
......@@ -68,12 +68,12 @@ PTL.sync = (function() {
remoteStorage.on('not-connected', function() {
PTL.synchronized = false;
PTL.util.say(PTL.tr('NOT connected to remote storage'), 'warning');
PTL.util.say(PTL.tr('Not connected to remote storage'), 'error');
});
remoteStorage.on('disconnected', function() {
PTL.synchronized = false;
PTL.util.say(PTL.tr('Disconnected from remote storage'), 'warning');
PTL.util.say(PTL.tr('Disconnection from remote storage'), 'warning');
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment