mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 22:08:45 +01:00
dont allow to insert html
This commit is contained in:
parent
f56857343d
commit
89f8c87cd1
@ -59,7 +59,7 @@ var et2_groupbox_legend = et2_baseWidget.extend(
|
||||
init: function() {
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
var legend = jQuery("<legend>"+this.options.label+"</legend>");
|
||||
var legend = jQuery(document.createElement("legend")).text(this.options.label);
|
||||
this.setDOMNode(legend[0]);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user