Skip to content

Commit

Permalink
Fix for Exception namespace & CSS image move
Browse files Browse the repository at this point in the history
Missing '\\' before Exception
Icon has moved in Framework
  • Loading branch information
oilee80 committed Feb 14, 2017
1 parent 03b83e5 commit 1b5e83b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/GridFieldExtensions.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
width: 5px;
height: 11px;
margin: -5px 0 0 -2px;
background-image: url('../../framework/thirdparty/jquery-ui-themes/smoothness/images/ui-icons_222222_256x240.png');
background-image: url('../../framework/admin/thirdparty/jquery-ui-themes/smoothness/images/ui-icons_222222_256x240.png');
background-position: -5px -227px;
}

Expand Down
2 changes: 1 addition & 1 deletion src/GridFieldOrderableRows.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function getSortTable(SS_List $list)
}
}

throw new Exception("Couldn't find the sort field '$field'");
throw new \Exception("Couldn't find the sort field '$field'");
}

public function getURLHandlers($grid)
Expand Down

0 comments on commit 1b5e83b

Please sign in to comment.