- Fix #3626: SimpleStream reloads unexpected

This commit is contained in:
buddh4 2019-08-22 12:29:38 +02:00
parent 1a4b1964af
commit 9cc848dfba
2 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,7 @@ HumHub Change Log
- Fix #3588: OEmbed CSS class not provided
- Fix #3609: LDAP paging control limits max. users
- Fix #3618: Some LDAP CLI commands requires a authClientId parameter
- Fix #3625: If user is following a space of which he is also a member, it shows up twice under "my spaces"
- Fix #3626: SimpleStream reloads unexpected
1.3.14 (June 26, 2019)

View File

@ -29,8 +29,11 @@ humhub.module('stream.SimpleStream', function (module, require, $) {
this.setFilter('entry_archived');
});
SimpleStream.prototype.init = function () {
this.reloadEntry();
SimpleStream.prototype.onEmptyStream = function () {
var modal = Component.instance(this.$.closest('.modal'));;
if(modal) {
modal.close();
}
};
SimpleStream.prototype.reloadEntry = function (entry) {