Browse Source
Merge pull request #17219 from abpframework/salihozkara/fixAddWidgetModal
Fix add widget modal
pull/17222/head
Enis Necipoglu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
1 deletions
-
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Contents/addWidgetModal.js
|
|
|
@ -12,7 +12,11 @@ $(function () { |
|
|
|
widgetType = $("#ViewModel_Widget").find(":selected").text(); |
|
|
|
|
|
|
|
$('.widget-detail').attr('hidden', 'true'); |
|
|
|
|
|
|
|
|
|
|
|
if(activeEditor){ |
|
|
|
activeEditor.attr('hidden', 'true'); |
|
|
|
} |
|
|
|
|
|
|
|
activeEditor = $('#editor-' + widgetName); |
|
|
|
activeEditor.removeAttr('hidden'); |
|
|
|
|
|
|
|
|