From 4407f0bac879e511461bba7f2b154a883db583ca Mon Sep 17 00:00:00 2001 From: Enis Necipoglu Date: Wed, 26 Oct 2022 11:50:31 +0300 Subject: [PATCH] Remove unnecessary input name calculation from dom-event-handlers.js First appeared in https://github.com/abpframework/abp/commit/59ee6f9ed4c29f4027806be422c7ebbb744e0a4e#diff-0c20e811059fb5729d7aa4775455ea9c985342194b05d6c54218079d25a64915R85 --- .../bootstrap/dom-event-handlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js index cbcb0b1aa41..009c32d253e 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js @@ -86,7 +86,7 @@ parentSelector = ".modal.fade"; } var name = $(this).attr("name"); - var selectedTextInputName = name.substring(0, name.length - 1) + "_Text]"; + var selectedTextInputName = name + "_Text"; var selectedTextInput = $('', { type: 'hidden', id: selectedTextInputName,