aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-11 17:44:51 -0700
committerzotlabs <mike@macgirvin.com>2018-04-11 17:44:51 -0700
commit953a2fd9b2db0c0f0b1cf54c766a1e39002eaea8 (patch)
treeae1e1d45d6c7f43db0686aec4f32bdfc33286ff2 /view
parent2fa9645dfc4dc640d7460f069fc9536cce1e4fd2 (diff)
parent3bd645033330c2db0952e57db1516274487c0712 (diff)
downloadvolse-hubzilla-953a2fd9b2db0c0f0b1cf54c766a1e39002eaea8.tar.gz
volse-hubzilla-953a2fd9b2db0c0f0b1cf54c766a1e39002eaea8.tar.bz2
volse-hubzilla-953a2fd9b2db0c0f0b1cf54c766a1e39002eaea8.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js3
-rwxr-xr-xview/tpl/jot-header.tpl2
-rwxr-xr-xview/tpl/settings.tpl1
3 files changed, 4 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index dd7b81ad4..02f2f6a3d 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -25,13 +25,14 @@ var liveRecurse = 0;
var savedTitle = '';
var initialLoad = true;
-// Clear the session storage if we switch channel or log out
+// Clear the session and local storage if we switch channel or log out
var cache_uid = '';
if(sessionStorage.getItem('uid') !== null) {
cache_uid = sessionStorage.getItem('uid');
}
if(cache_uid !== localUser.toString()) {
sessionStorage.clear();
+ localStorage.clear();
sessionStorage.setItem('uid', localUser.toString());
}
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index d6d93a863..991a4c8b1 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -626,7 +626,7 @@ $( document ).on( "click", ".wall-item-delete-link,.page-delete-link,.layout-del
initEditor();
}
} else {
- autoSaveCleanup();
+ postSaveChanges('clean');
}
$(document).on('submit', '#profile-jot-form', function() {
diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl
index 0055fa265..d258f1992 100755
--- a/view/tpl/settings.tpl
+++ b/view/tpl/settings.tpl
@@ -145,6 +145,7 @@
{{if $vnotify13}}
{{include file="field_intcheckbox.tpl" field=$vnotify13}}
{{/if}}
+ {{include file="field_intcheckbox.tpl" field=$vnotify14}}
{{include file="field_intcheckbox.tpl" field=$always_show_in_notices}}
{{include file="field_input.tpl" field=$evdays}}
</div>