Skip to content

Commit 5c17201

Browse files
author
per ploug
committed
Fixes custom grid view lookup
1 parent d86a194 commit 5c17201

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/Umbraco.Web.UI.Client/src/less/gridview.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@
506506
margin-right: 45px;
507507
margin-bottom: 15px;
508508
border: 1px dashed transparent;
509-
overflow-y: hidden;
510509
}
511510

512511

src/Umbraco.Web.UI/Views/Partials/Grid/Bootstrap2.cshtml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353

5454
@foreach (var control in area.controls){
5555
if (control != null && control.editor != null && control.editor.view != null){
56-
string editor = "grid/editors/" + control.editor.view.ToString();
57-
<text>@Html.Partial(editor, (object)control)</text>
56+
<text>@Html.Partial("grid/editors/base", (object)control)</text>
5857
}
5958
}
6059

src/Umbraco.Web.UI/Views/Partials/Grid/Bootstrap3.cshtml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353

5454
@foreach (var control in area.controls){
5555
if (control != null && control.editor != null && control.editor.view != null){
56-
string editor = "grid/editors/" + control.editor.view.ToString();
57-
<text>@Html.Partial(editor, (object)control)</text>
56+
<text>@Html.Partial("grid/editors/base", (object)control)</text>
5857
}
5958
}
6059

0 commit comments

Comments
 (0)