File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 . addClass ( 'navigation-item' )
5151 . addClass ( sectionID )
5252 . append ( $ ( '<span>' ) . addClass ( 'icon' ) . html ( ' ' ) )
53- . append ( $ ( '<span>' ) . html ( _l ( args . title ) ) )
53+ . append ( $ ( '<span>' ) . text ( _l ( args . title ) ) )
5454 . data ( 'cloudStack-section-id' , sectionID ) ;
5555
5656 if ( args . customIcon ) {
223223 id : 'user'
224224 } ) . addClass ( 'button' )
225225 . append (
226- $ ( '<div>' ) . addClass ( 'name' ) . html (
226+ $ ( '<div>' ) . addClass ( 'name' ) . text (
227227 args . context && args . context . users ?
228228 cloudStack . concat ( userLabel , 14 ) : 'Invalid User'
229229 )
258258 $ ( '<div>' ) . attr ( {
259259 id : 'breadcrumbs'
260260 } )
261- . append ( $ ( '<div>' ) . addClass ( 'home' ) . html ( _l ( 'label.home' ) ) )
261+ . append ( $ ( '<div>' ) . addClass ( 'home' ) . text ( _l ( 'label.home' ) ) )
262262 . append ( $ ( '<div>' ) . addClass ( 'end' ) )
263263 )
264264
309309 . attr ( {
310310 href : '#'
311311 } )
312- . html ( _l ( this . toString ( ) ) )
312+ . text ( _l ( this . toString ( ) ) )
313313 . appendTo ( $options ) ;
314314
315315 if ( this == 'label.help' ) {
323323 }
324324 if ( this == 'label.about' ) {
325325 $link . addClass ( 'about' ) . click ( function ( ) {
326- var $logo = $ ( '<div>' ) . addClass ( 'logo' ) . html ( _l ( 'label.app.name' ) ) ,
327- $version = $ ( '<div>' ) . addClass ( 'version' ) . html ( g_cloudstackversion ) ,
326+ var $logo = $ ( '<div>' ) . addClass ( 'logo' ) . text ( _l ( 'label.app.name' ) ) ,
327+ $version = $ ( '<div>' ) . addClass ( 'version' ) . text ( g_cloudstackversion ) ,
328328 $about = $ ( '<div>' ) . addClass ( 'about' ) . append ( $logo ) . append ( $version ) ;
329329 $about . dialog ( {
330330 modal : true ,
You can’t perform that action at this time.
0 commit comments