     constructor: (@$scope) ->
       super()
 
+
+    ###
+     on click remove button, remove issue from selectable list.
+    ###
     removeItem: (item) ->
       if State.isTracking and item.equals DataAdapter.selectedTicket
         return

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


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

      @$scope.issues.set(data.issues)


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