use OC_Dialogs instead of alert()
This commit is contained in:
parent
ff4b0c4d7f
commit
d0cb99e347
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ function showFileEditor(dir,filename){
|
|||
});
|
||||
} else {
|
||||
// Failed to get the file.
|
||||
alert(result.data.message);
|
||||
OC.dialogs.alert(result.data.message, t('files_texteditor','An error occurred!'));
|
||||
}
|
||||
// End success
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue