File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
tilelayout/add-remove-tiles/AddRemoveTiles/Pages Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 32
32
< span >
33
33
@item .Title
34
34
< / span >
35
+ @* The JS script is in the "_Host .cshtml " file *@
35
36
<span onpointerdown = " stopPropagation(event)" >
36
37
< TelerikButton Icon = " close" Title = " Delete tile" Class = " k-flat" OnClick = " @(() => Remove(item))" >< / TelerikButton >
37
38
< / span >
73
74
</SplitterPanes >
74
75
</TelerikSplitter >
75
76
76
- <script suppress-error =" BL9992" >
77
- window .stopPropagation = (e ) => {
78
- e .stopPropagation ();
79
- }
80
- </script >
81
-
82
77
@code {
83
78
public IEnumerable <PodcastViewModel > Podcasts { get ; set ; }
84
79
Original file line number Diff line number Diff line change 30
30
</div >
31
31
32
32
<script src =" _framework/blazor.server.js" ></script >
33
+
34
+ @* Necessary to avoid mix up with clickable and*@
35
+ @* draggable event in HeaderTemplate*@
36
+ <script >
37
+ window .stopPropagation = (e ) => {
38
+ e .stopPropagation ();
39
+ }
40
+ </script >
33
41
</body >
34
42
</html >
You can’t perform that action at this time.
0 commit comments