       @$scope.issues.set(data.issues)
 
 
+    ###
+     show error message.
+    ###
     loadError: (data, status) =>
       if status is BaseEditState.STATUS_CANCEL then return
       Message.toast Resource.string("msgLoadIssueFail")

      Message.toast Resource.string("msgRemoved").format(item.text)


    load: (page) ->
      page = @currentPage if not page?
      if not DataAdapter.selectedProject?

      Redmine.get(DataAdapter.selectedAccount).getIssuesOnProject(projectId, params, @loadSuccess, @loadError)


    ###
     update issues.
    ###
    loadSuccess: (data) =>
      return if not DataAdapter.selectedProject
      return if DataAdapter.selectedProject.url isnt data.url
