use OC_Dialogs instead of alert()

This commit is contained in:
Tom Needham 2012-04-02 16:35:11 +00:00
parent ff4b0c4d7f
commit d0cb99e347
1 changed files with 1 additions and 1 deletions

View File

@ -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
}