Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
1f2871b917 | |||
855206feed | |||
efa195df5b | |||
89c8cb0dc8 | |||
c2de4c8d45 |
1
.hgtags
1
.hgtags
@@ -6,3 +6,4 @@ d14041daa7bbbd37ea2ff47aa978b9595af67ca3 release-1.1.1
|
||||
7278eb0d067d8ed2a653de6a1feeeb7f76fb9891 release-1.1.2
|
||||
6cbd9d59630372c0dff430e3dc6c1fbd7dcee734 release-1.1.3
|
||||
76c178b8f27ec894e79b8f73649fcb3e45a73729 release-1.1.4
|
||||
0eeab5594ba4d683e6a268ef971675c73b226bd0 release-1.2.0
|
||||
|
@@ -13,6 +13,11 @@ Tags: nmdc
|
||||
|
||||
=CHANGELOG=
|
||||
|
||||
2017-10-16 1.2.1
|
||||
- Enhancement: Increase scrollback buffer size
|
||||
- Fix an issue with missing `contented` upload link once logged in
|
||||
- Fix a cosmetic issue with `(0)` appearing in page title
|
||||
|
||||
2017-10-15 1.2.0
|
||||
- Feature: Add `contented` integration (set `app.contented_server` in config file)
|
||||
- Fix a cosmetic issue with the menu icon on devices without unicode font coverage
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"use strict";
|
||||
|
||||
var SENTINEL_PASSWORD = "************";
|
||||
var CHAT_SCROLLBACK_LIMIT = 50; // Once over 2x $limit, the first $limit will be trimmed off the list
|
||||
var CHAT_SCROLLBACK_LIMIT = 200; // Once over 2x $limit, the first $limit will be trimmed off the list
|
||||
var EXTERN_ROOT = window.location.protocol + "//" + window.location.host + "/";
|
||||
|
||||
var el = function(s) {
|
||||
@@ -690,6 +690,13 @@ var menu = new MenuList(el("#menubutton"));
|
||||
|
||||
menu.reset = function() {
|
||||
this.clear();
|
||||
|
||||
if (contented_url.length > 0) {
|
||||
menu.add("Upload", function() {
|
||||
contented_load();
|
||||
});
|
||||
}
|
||||
|
||||
this.add(joinparts_getstr(), toggle_joinparts);
|
||||
this.add(desktop_notifications_fmtstr(), desktop_notifications_toggle);
|
||||
this.add(warnonclose_fmtstr(), warnonclose_toggle);
|
||||
@@ -789,7 +796,11 @@ var updateTitle = function() {
|
||||
prefix = "[NEW PM] "
|
||||
}
|
||||
|
||||
document.title = prefix + hub_hubname + " ("+userlist.count()+")"
|
||||
var suffix = "";
|
||||
if (userlist.count() > 0) {
|
||||
suffix = " ("+userlist.count()+")";
|
||||
}
|
||||
document.title = prefix + hub_hubname + suffix;
|
||||
};
|
||||
|
||||
var sock = {};
|
||||
@@ -1176,9 +1187,7 @@ window.onload = function() {
|
||||
});
|
||||
sock.on('contented', function(url) {
|
||||
contented_url = url;
|
||||
menu.add("Upload", function() {
|
||||
contented_load();
|
||||
});
|
||||
menu.reset(); // sent before login
|
||||
});
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user