1. 21 8月, 2016 4 次提交
    • A
      Do not update if one dropdown has not selected any option · 18e98a36
      Alfredo Sumaran 提交于
      No need to update the branch permission if no option is marked on the dropdown
      18e98a36
    • A
      Make dropdown selectables · 54412dac
      Alfredo Sumaran 提交于
      This makes dropdown to look according the dropdowns on the edit form. This options add a tick mark next to the selected option.
      54412dac
    • R
      Merge branch 'fix-network-graph-error-500' into 'master' · b8728c0b
      Rubén Dávila Santos 提交于
      Fix Error 500 resulting when loading network graph
      
      `discussion_id` may not be present when the SELECT call for notes does not include this attribute. Don't attempt to set the discussion ID unless the model contains the attribute:
      
      ```ruby
      irb(main):019:0> notes[0]
        Note Load (10.3ms)  SELECT notes.commit_id, count(notes.id) as note_count FROM "notes" WHERE "notes"."project_id" = $1 AND (noteable_type = 'Commit') GROUP BY notes.commit_id  [["project_id", 13083]]
      ActiveModel::MissingAttributeError: missing attribute: discussion_id
      ```
      
      Closes #21119, #21128
      
      See merge request !5922
      b8728c0b
    • S
      Fix Error 500 resulting when loading network graph · 5cb488e8
      Stan Hu 提交于
      `discussion_id` may not be present when the SELECT call for notes
      does not include this attribute. Don't attempt to set the discussion ID
      unless the model contains the attribute.
      
      Closes #21119, #21128
      5cb488e8
  2. 20 8月, 2016 36 次提交