mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
dont allow to insert html
This commit is contained in:
parent
f5769333da
commit
0da238155c
@ -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