change
This commit is contained in:
@@ -125,7 +125,12 @@ var Unibase;
|
||||
instance.appmanager = Unibase.Platform.Apps.Managers.AppManager.Instance();
|
||||
instance.doctypemanager = Unibase.Platform.DataSources.Managers.DocTypeManager.Instance();
|
||||
$("#" + containerid).find(".detail-close").click(function () {
|
||||
window.parent.postMessage('clickToBack', '*');
|
||||
if (!Unibase.Themes.Compact.Components.Index.Instance().isIframeObj.isListDetailPage) {
|
||||
window.parent.postMessage('List-Details-page', '*');
|
||||
}
|
||||
else {
|
||||
window.parent.postMessage('clickToBack', '*');
|
||||
}
|
||||
$('.txt_global_search').show();
|
||||
$('.search_icon').removeClass("hidden");
|
||||
$(this).removeClass("hidden");
|
||||
|
||||
@@ -35,7 +35,7 @@ var Unibase;
|
||||
this.currentUser = Unibase.Platform.Membership.Infos.Identity.currentUser;
|
||||
this.isTouchScreen = ('ontouchstart' in window) || (navigator.msMaxTouchPoints > 0);
|
||||
this.isIframe = false;
|
||||
this.isIframeObj = { "isDetailsPage": false, "isNotifiPage": false, "isListPage": false, "isForm": false, "isPopupPage": false, "isDetailsForm": false };
|
||||
this.isIframeObj = { "isDetailsPage": false, "isNotifiPage": false, "isListPage": false, "isForm": false, "isPopupPage": false, "isDetailsForm": false, "isListDetailPage": true };
|
||||
}
|
||||
init(callback) {
|
||||
const instance = this;
|
||||
|
||||
@@ -233,10 +233,6 @@ var Unibase;
|
||||
$("#" + panel).find('.modal-header .close').click();
|
||||
window.parent.postMessage('closeForm', '*');
|
||||
});
|
||||
$("#" + panel).find("#btnDynamicSave").on("click", function () {
|
||||
let formid = $("#" + panel + ' .modal-header #hf_FormId').val();
|
||||
window.parent.postMessage(`save-form/${formid}`, '*');
|
||||
});
|
||||
}
|
||||
if (Unibase.Themes.Providers.DetailHelper.isListStages) {
|
||||
$("#" + panel).find(".btn_CloseForm ").on("click", function () {
|
||||
|
||||
Reference in New Issue
Block a user