Separate UI elements from cryptpad-common
This commit is contained in:
1 parent
354c63bd64
commit
dc207393fd
30 files changed
+424
-1840
No files matched your search
+4
-3
@@ -1,10 +1,11 @@
|
||||
define([
|
||||
'jquery',
|
||||
'/common/cryptpad-common.js',
|
||||
'/bower_components/chainpad-listmap/chainpad-listmap.js',
|
||||
'/common/common-interface.js',
|
||||
//'/bower_components/chainpad-listmap/chainpad-listmap.js',
|
||||
//'/common/curve.js',
|
||||
'less!/invite/main.less',
|
||||
], function ($, Cryptpad /*, Listmap, Curve*/) {
|
||||
], function ($, Cryptpad, UI /*, Listmap, Curve*/) {
|
||||
var Messages = Cryptpad.Messages;
|
||||
var comingSoon = function () {
|
||||
return $('<div>', {
|
||||
@@ -38,7 +39,7 @@ define([
|
||||
|
||||
if (!info.pubkey) {
|
||||
Cryptpad.removeLoadingScreen();
|
||||
Cryptpad.alert('invalid invite');
|
||||
UI.alert('invalid invite');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user