aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-28 08:42:08 +0000
committerMario <mario@mariovavti.com>2021-05-28 08:42:08 +0000
commit69ef7cf1680cebed3512e918de30c09ac9ce0be4 (patch)
tree2882b02c2397746034288b5b94949e0bf4a43b64 /view
parentf1aace5a22368a703e562169f855a0e387c5b93a (diff)
downloadvolse-hubzilla-69ef7cf1680cebed3512e918de30c09ac9ce0be4.tar.gz
volse-hubzilla-69ef7cf1680cebed3512e918de30c09ac9ce0be4.tar.bz2
volse-hubzilla-69ef7cf1680cebed3512e918de30c09ac9ce0be4.zip
remove more mail leftovers
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js22
-rw-r--r--view/js/mod_mail.js7
2 files changed, 2 insertions, 27 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 6c418b213..a20c82593 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1446,24 +1446,6 @@ function preview_post() {
return true;
}
-function preview_mail() {
- $("#mail-preview").val("1");
- $("#mail-preview-content").show();
- $.post(
- "mail",
- $("#prvmail-form").serialize(),
- function(data) {
- if(data.preview) {
- $("#mail-preview-content").html(data.preview);
- $("#mail-preview-content" + " a").click(function() { return false; });
- }
- },
- "json"
- );
- $("#mail-preview").val("0");
- return true;
-}
-
function bin2hex(s) {
// Converts the binary representation of data to hex
//
@@ -1817,7 +1799,7 @@ function sse_bs_notifications(e, replace, followup) {
function sse_handleNotifications(obj, replace, followup) {
- var primary_notifications = ['dm', 'home', 'intros', 'register', 'mail', 'notify', 'files'];
+ var primary_notifications = ['dm', 'home', 'intros', 'register', 'notify', 'files'];
var secondary_notifications = ['network', 'forums', 'all_events', 'pubs'];
var all_notifications = primary_notifications.concat(secondary_notifications);
@@ -1951,7 +1933,7 @@ function sse_updateNotifications(type, mid) {
}
function sse_setNotificationsStatus() {
- var primary_notifications = ['dm', 'home', 'intros', 'register', 'mail', 'notify', 'files'];
+ var primary_notifications = ['dm', 'home', 'intros', 'register', 'notify', 'files'];
var secondary_notifications = ['network', 'forums', 'all_events', 'pubs'];
var all_notifications = primary_notifications.concat(secondary_notifications);
diff --git a/view/js/mod_mail.js b/view/js/mod_mail.js
deleted file mode 100644
index 917e5414c..000000000
--- a/view/js/mod_mail.js
+++ /dev/null
@@ -1,7 +0,0 @@
-$(document).ready(function() {
- $("#recip").name_autocomplete(baseurl + '/acl', 'm', false, function(data) {
- $("#recip-complete").val(data.xid);
- });
- $('#prvmail-text').bbco_autocomplete('bbcode');
- $("#prvmail-text").editor_autocomplete(baseurl+"/acl");
-});