Small modifications and bug fixes to improve Model Admin usability #9

merged 5 commits into from Mar 6, 2012


None yet
2 participants

jamesbolitho commented Mar 6, 2012

Hi Aram,

After some testing of this module I have applied some of the fixes that should improve usability in model admin.

Hope these help and thanks for a great module.



jamesbolitho added some commits Mar 6, 2012

@jamesbolitho jamesbolitho Changed from if($record && !$record->canDeleteFromLive()) becuase I w…
…as receiving error when attempting to unpublish and this works as far as I have tested.
@jamesbolitho jamesbolitho - Add a new delete button function to allow for improved javascript a…
…ction to be applied so as to return empty search so that results list is displayed after deleting item.

- Added EditForm to remove forward and back buttons which I have found to be buggy at best i.e. if back button is pressed after object is created it doesn't take you back to the list.
- Also I have removed the default save and delete buttons so that I can reorder them to provide similarity between this and pages on the Sitetree.
@jamesbolitho jamesbolitho - Reorder buttons to bring in line with Pages on the Sitetree.
- Add a back to list button which will submit empty search to produce search results to be displayed.
@jamesbolitho jamesbolitho - Addition of javascript functions for new buttons i.e. go back to li…
…st view, save to draft, delete item.
@jamesbolitho jamesbolitho Just a styling change to improve the appearance of Import form on the…
… left of Model Admin.

arambalakjian merged commit 0e52c38 into arambalakjian:master Mar 6, 2012


arambalakjian commented Mar 6, 2012

Great thanks Jim!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment