use OC_Dialogs instead of alert()

remotes/origin/stable4
Tom Needham 13 years ago
parent ff4b0c4d7f
commit d0cb99e347
  1. 2
      apps/files_texteditor/js/editor.js

@ -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…
Cancel
Save