Skip to content

Commit

Permalink
Update src/Forms/GridField/GridFieldDetailForm_ItemRequest.php
Browse files Browse the repository at this point in the history
Co-Authored-By: robbieaverill <[email protected]>
  • Loading branch information
ScopeyNZ and robbieaverill authored May 1, 2019
1 parent 8db9432 commit 90f2029
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Forms/GridField/GridFieldDetailForm_ItemRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ protected function getRightGroupField()
HTML::createTag('a', [
'href' => Controller::join_links($this->gridField->Link('item'), 'new'),
'data-grid-state' => $gridState,
'disabled' => !$this->getNextRecordID(),
'title' => _t(__CLASS__ . '.NEW', 'Add new record'),
'aria-label' => _t(__CLASS__ . '.NEW', 'Add new record'),
'class' => 'btn btn-primary font-icon-plus-thin btn--circular action--new discard-confirmation',
Expand Down

0 comments on commit 90f2029

Please sign in to comment.