Fix: Use of JS-Widget internal event object instead of node

This commit is contained in:
buddh4 2017-07-20 16:15:29 +02:00
parent e7ee4ac772
commit c065511c7a
2 changed files with 1 additions and 12 deletions

View File

@ -16,6 +16,7 @@ HumHub Change Log
- Fix: Fixed ContentContainerSettingManager caching issue if space/user id are equal
- Enh: Use of select2 dropdown for time zone selections
- Fix: Bypass AccessControl behavior in installer
- Fix: Use of JS-Widget internal event object instead of node
1.2.1 (June 17, 2017)
- Fix: Invite error in french language

View File

@ -123,18 +123,6 @@ humhub.module('ui.widget', function(module, require, $) {
return $.extend(this.getDefaultOptions(options), this.$.data(), options);
};
Widget.prototype.on = function(event, handler) {
this.$.on(event, handler);
};
Widget.prototype.one = function(event, handler) {
this.$.one(event, handler);
};
Widget.prototype.off = function(event) {
this.$.off(event);
};
Widget.prototype.statusError = function(title) {
var msg = title || module.text('error.title');;
msg += '<br /><br /><ul style="list-style:none;">';