Skip to content
Snippets Groups Projects
Commit d0cb99e3 authored by Tom Needham's avatar Tom Needham
Browse files

use OC_Dialogs instead of alert()

parent ff4b0c4d
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment