File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed 
src/bundle/Resources/public/js/scripts Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2626        'time' , 
2727        'url' , 
2828    ] ; 
29+     const  {  escapeHTML }  =  ibexa . helpers . text ; 
2930    const  form  =  doc . querySelector ( '.ibexa-form-validate' ) ; 
3031    const  submitBtns  =  form . querySelectorAll ( '[type="submit"]:not([formnovalidate])' ) ; 
3132    const  menuButtonsToValidate  =  doc . querySelectorAll ( 'button[data-validate]' ) ; 
150151        const  setAutosaveTooltipContent  =  ( )  =>  { 
151152            const  statusMsgFromNode  =  autosaveNode . querySelector ( `.ibexa-autosave__status--${ currentAutosaveStatus }  ` ) . innerText ; 
152153            const  tooltipContent  =  isAutosaveSimple 
153-                 ? statusMsgFromNode 
154+                 ? escapeHTML ( statusMsgFromNode ) 
154155                : Translator . trans ( 
155156                      /*@Desc ("You can turn autosave off in your user settings")*/  'content.autosave.turn_off.message' , 
156157                      { } , 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments