File tree Expand file tree Collapse file tree
spreadsheet_oca/static/src/spreadsheet/bundle Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ export class SpreadsheetRenderer extends Component {
9292 editText : this . editText . bind ( this ) ,
9393 askConfirmation : this . askConfirmation . bind ( this ) ,
9494 downloadAsXLXS : this . downloadAsXLXS . bind ( this ) ,
95+ raiseError : this . raiseError . bind ( this ) ,
9596 } ) ;
9697 onWillStart ( async ( ) => {
9798 await loadSpreadsheetDependencies ( ) ;
@@ -148,6 +149,12 @@ export class SpreadsheetRenderer extends Component {
148149 } ) ;
149150 this . ui . unblock ( ) ;
150151 }
152+ raiseError ( content ) {
153+ this . state . dialogContent = content ;
154+ this . confirmDialog = this . closeDialog ;
155+ this . state . dialogDisplayed = true ;
156+ this . state . dialogHideInputBox = true ;
157+ }
151158}
152159
153160SpreadsheetRenderer . template = "spreadsheet_oca.SpreadsheetRenderer" ;
You can’t perform that action at this time.
0 commit comments