Browse Source
Merge pull request #22913 from abpframework/modal-manager.js
Remove `Container` postfix from `id` attribute.
pull/22924/head
Engincan VESKE
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/modal-manager.js
|
|
@ -55,7 +55,7 @@ $.validator.defaults.ignore = ''; //TODO: Would be better if we can apply only f |
|
|
|
|
|
|
|
|
function _createContainer() { |
|
|
function _createContainer() { |
|
|
_removeContainer(); |
|
|
_removeContainer(); |
|
|
_$modalContainer = $('<div id="' + _modalId + 'Container' + '"></div>'); |
|
|
_$modalContainer = $('<div id="' + _modalId + '"></div>'); |
|
|
var existsModals = $('[id^="Abp_Modal_"]'); |
|
|
var existsModals = $('[id^="Abp_Modal_"]'); |
|
|
if (existsModals.length) { |
|
|
if (existsModals.length) { |
|
|
existsModals.last().after(_$modalContainer) |
|
|
existsModals.last().after(_$modalContainer) |
|
|
|