Redirect on internal list after related item deletion
- Alexey Babin
- Posts: 23
- Joined: Wed May 11, 2016
- Contact:
Related items list is not in quick edit mode.
When I open related item in edit form and delete it (by pressing cross on ribbon), I'm redirected to page, containing related list itself, and all my changes of parent item are lost.
When I open related item in edit form and delete it (by pressing cross on ribbon), I'm redirected to page, containing related list itself, and all my changes of parent item are lost.
This problem has been fixed in the version of Forms Designer you're using. Try this: deactivate and then activate the Forms Designer feature in site settings, clear your browser's cache. If it still doesn't work, check the console for errors (press F12, reload the form page and perform the sequence of actions that are giving you problems.). If there are any errors in the console, paste them here.
- Alexey Babin
- Posts: 23
- Joined: Wed May 11, 2016
- Contact:
Reactivation of feature and cleaning the browser cache does not help - still redirecting to list. There are no errors in console, but there are some warnings/info:
DOM7011: Код на этой странице запрещает кэширование вперед и назад. Дополнительные сведения см. по адресу http://go.microsoft.com/fwlink/?LinkID=291337
Файл: fd_%D0%97%D0%B0%D1%8F%D0%B2%D0%BA%D0%B0%20%D0%BD%D0%B0%20%D0%BA%D0%BE%D0%BC%D0%B0%D0%BD%D0%B4%D0%B8%D1%80%D0%BE%D0%B2%D0%BA%D1%83_New.aspx
HTML1300: Произошел переход.
Файл: BizTripTransport
HTML1202: http://portal:8080/Apps/BizTrip/Lists/BizTripTransport выполняется в режиме совместимости, так как установлен флажок "Отображать сайты интрасети в режиме совместимости".
Файл: BizTripTransport
DOM7011: Код на этой странице запрещает кэширование вперед и назад. Дополнительные сведения см. по адресу http://go.microsoft.com/fwlink/?LinkID=291337
Файл: fd_%D0%97%D0%B0%D1%8F%D0%B2%D0%BA%D0%B0%20%D0%BD%D0%B0%20%D0%BA%D0%BE%D0%BC%D0%B0%D0%BD%D0%B4%D0%B8%D1%80%D0%BE%D0%B2%D0%BA%D1%83_New.aspx
HTML1504: Непредвиденный закрывающий тег.
Файл: AllItems.aspx, строка: 99, столбец: 137
(<link id="ctl00_ctl06_CssJQueryUI" rel="stylesheet" type="text/css" href="/_layouts/15/DeskWork/jquery/styles/smoothness/jquery-ui.css"></link>)
SEC7115: Стили :visited и :link могут отличаться только по цвету. Некоторые стили не были применены к стилю :visited.
Файл: AllItems.aspx
DOM7011: Код на этой странице запрещает кэширование вперед и назад. Дополнительные сведения см. по адресу http://go.microsoft.com/fwlink/?LinkID=291337
Файл: fd_%D0%97%D0%B0%D1%8F%D0%B2%D0%BA%D0%B0%20%D0%BD%D0%B0%20%D0%BA%D0%BE%D0%BC%D0%B0%D0%BD%D0%B4%D0%B8%D1%80%D0%BE%D0%B2%D0%BA%D1%83_New.aspx
HTML1300: Произошел переход.
Файл: BizTripTransport
HTML1202: http://portal:8080/Apps/BizTrip/Lists/BizTripTransport выполняется в режиме совместимости, так как установлен флажок "Отображать сайты интрасети в режиме совместимости".
Файл: BizTripTransport
DOM7011: Код на этой странице запрещает кэширование вперед и назад. Дополнительные сведения см. по адресу http://go.microsoft.com/fwlink/?LinkID=291337
Файл: fd_%D0%97%D0%B0%D1%8F%D0%B2%D0%BA%D0%B0%20%D0%BD%D0%B0%20%D0%BA%D0%BE%D0%BC%D0%B0%D0%BD%D0%B4%D0%B8%D1%80%D0%BE%D0%B2%D0%BA%D1%83_New.aspx
HTML1504: Непредвиденный закрывающий тег.
Файл: AllItems.aspx, строка: 99, столбец: 137
(<link id="ctl00_ctl06_CssJQueryUI" rel="stylesheet" type="text/css" href="/_layouts/15/DeskWork/jquery/styles/smoothness/jquery-ui.css"></link>)
SEC7115: Стили :visited и :link могут отличаться только по цвету. Некоторые стили не были применены к стилю :visited.
Файл: AllItems.aspx
- Alexey Babin
- Posts: 23
- Joined: Wed May 11, 2016
- Contact:
Here is url of parent form:
http://portal:8080/Apps/BizTrip/Lists/B ... e6711198f5
Here is url when internal window is open (it is the same):
http://portal:8080/Apps/BizTrip/Lists/B ... e6711198f5
Here is link to edit related item:
http://portal:8080/Apps/BizTrip/_layout ... 3%7D&ID=68
http://portal:8080/Apps/BizTrip/Lists/B ... e6711198f5
Here is url when internal window is open (it is the same):
http://portal:8080/Apps/BizTrip/Lists/B ... e6711198f5
Here is link to edit related item:
http://portal:8080/Apps/BizTrip/_layout ... 3%7D&ID=68
- Alexey Babin
- Posts: 23
- Joined: Wed May 11, 2016
- Contact:
And here is iFrame code:
<iframe class="ms-dlgFrame" id="DlgFrame1f8fe3fa-85f7-4bd5-a682-113b9f5491b8" src="http://portal:8080/Apps/BizTrip/_layout ... mp;IsDlg=1" frameborder="0" style="width: 608px; height: 517px;"></iframe>
<iframe class="ms-dlgFrame" id="DlgFrame1f8fe3fa-85f7-4bd5-a682-113b9f5491b8" src="http://portal:8080/Apps/BizTrip/_layout ... mp;IsDlg=1" frameborder="0" style="width: 608px; height: 517px;"></iframe>
Did you customize the view via the JSLink attribute?
Please provide the value of the onclick attribute of a link that's used to open the edit form popup.
Please type EditLink2 in the console while you're on the parent form. Provide the result of this expression.
Please provide the value of the onclick attribute of a link that's used to open the edit form popup.
Please type EditLink2 in the console while you're on the parent form. Provide the result of this expression.
- Alexey Babin
- Posts: 23
- Joined: Wed May 11, 2016
- Contact:
No, I do not use any CSR customizations. JSLink of view is clienttemplates.js (as it was by default in View attribute).
Here is HTML code of link to edit form.
<a href="http://portal:8080/Apps/BizTrip/_layout ... &ID=64" onclick="EditItemWithCheckoutAlert(event, 'http://portal:8080/Apps/BizTrip/_layout ... &ID=64', '', '', 'undefined', 'http://portal:8080/Apps/BizTrip', '', '1');return false;" target="_self" dragid="0" draggable="true" class=" ms-draggable"><img border="0" alt="изменить" src="/_layouts/15/images/edititem.gif?rev=23"></a>
here is value of EditLink2 object from console:
(t,i){var u=window["ctx"+String(i)],r;Boolean(u.fd_relateditems)?(r=GetSource,GetSource=function(){return encodeURIComponent(window.location.href.split("#")[0])},n(t,i),GetSource=r):n(t,i)}
Here is HTML code of link to edit form.
<a href="http://portal:8080/Apps/BizTrip/_layout ... &ID=64" onclick="EditItemWithCheckoutAlert(event, 'http://portal:8080/Apps/BizTrip/_layout ... &ID=64', '', '', 'undefined', 'http://portal:8080/Apps/BizTrip', '', '1');return false;" target="_self" dragid="0" draggable="true" class=" ms-draggable"><img border="0" alt="изменить" src="/_layouts/15/images/edititem.gif?rev=23"></a>
here is value of EditLink2 object from console:
(t,i){var u=window["ctx"+String(i)],r;Boolean(u.fd_relateditems)?(r=GetSource,GetSource=function(){return encodeURIComponent(window.location.href.split("#")[0])},n(t,i),GetSource=r):n(t,i)}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests