add alert in onGetDirectorySuccess

add alert in onGetDirectorySuccess