mirror of https://github.com/xwiki-labs/cryptpad
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
This commit is contained in:
commit
29075b7898
|
@ -7,7 +7,7 @@ define(['/api/config'], function (ApiConfig) {
|
|||
var document = window.document;
|
||||
|
||||
var isSupported = Module.isSupported = function () {
|
||||
return typeof(window.Notification) === 'function' && window.location.protocol === 'https:';
|
||||
return typeof(window.Notification) === 'function' && window.isSecureContext;
|
||||
};
|
||||
|
||||
var hasPermission = Module.hasPermission = function () {
|
||||
|
|
|
@ -642,8 +642,13 @@ define([
|
|||
href: href,
|
||||
channel: channel,
|
||||
title: data.driveReadmeTitle,
|
||||
owners: [ store.proxy.edPublic ],
|
||||
};
|
||||
Store.addPad(clientId, fileData, cb);
|
||||
}, {
|
||||
metadata: {
|
||||
owners: [ store.proxy.edPublic ],
|
||||
},
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue