Skip to content

Commit

Permalink
#15420 fixed new/edit field cancel button issue, having error page on…
Browse files Browse the repository at this point in the history
… click of cancel button
  • Loading branch information
Ronak Parmar committed Apr 20, 2017
1 parent ba465d8 commit c17ecc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions administrator/components/com_fields/views/field/view.html.php
Expand Up @@ -118,7 +118,7 @@ protected function addToolbar()
'btn-success'
);

JToolbarHelper::cancel('contact.cancel');
JToolbarHelper::cancel('field.cancel');
}
else
{
Expand Down Expand Up @@ -151,7 +151,7 @@ protected function addToolbar()
'btn-success'
);

JToolbarHelper::cancel('contact.cancel', 'JTOOLBAR_CLOSE');
JToolbarHelper::cancel('field.cancel', 'JTOOLBAR_CLOSE');
}

JToolbarHelper::help('JHELP_COMPONENTS_FIELDS_FIELDS_EDIT');
Expand Down

0 comments on commit c17ecc5

Please sign in to comment.