File tree 1 file changed +2
-2
lines changed
creme/creme_core/static/creme_core/js/widgets/dialog
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ creme.dialog.Dialog = creme.component.Component.sub({
505
505
return this . _dialog . dialog ( 'option' , 'title' ) ;
506
506
}
507
507
508
- this . _dialog . dialog ( 'option' , 'title' , String ( title ) . unescapeHTML ( ) ) ;
508
+ this . _dialog . dialog ( 'option' , 'title' , String ( title ) . decodeHTMLEntities ( ) ) ;
509
509
return this ;
510
510
} ,
511
511
@@ -572,7 +572,7 @@ creme.dialog.Dialog = creme.component.Component.sub({
572
572
var draggable = is_framescroll ? options . draggable : false ;
573
573
var width = options . minWidth > 0 ? Math . max ( options . minWidth , options . width ) : options . width ;
574
574
var height = options . minHeight > 0 ? Math . max ( options . minHeight , options . height ) : options . height ;
575
- var title = options . title ? String ( options . title ) . unescapeHTML ( ) : options . title ;
575
+ var title = options . title ? String ( options . title ) . decodeHTMLEntities ( ) : options . title ;
576
576
577
577
this . _dialog = content . dialog ( { buttons : Object . values ( buttons ) ,
578
578
title : title ,
You can’t perform that action at this time.
0 commit comments