mirror of https://github.com/abpframework/abp.git
11 changed files with 71 additions and 50 deletions
@ -0,0 +1,20 @@ |
|||||
|
(function ($) { |
||||
|
|
||||
|
abp.modals.TenantConnectionStringManagement = function() { |
||||
|
|
||||
|
var initModal = function (publicApi, args) { |
||||
|
publicApi.getModal() |
||||
|
.find('input[name="Tenant.UseSharedDatabase"]') |
||||
|
.change(function () { |
||||
|
var $this = $(this); |
||||
|
$("#Tenant_DefaultConnectionString_Wrap").toggleClass("d-none"); |
||||
|
$this.val($this.prop("checked")); |
||||
|
}); |
||||
|
}; |
||||
|
|
||||
|
return { |
||||
|
initModal: initModal |
||||
|
}; |
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
||||
Loading…
Reference in new issue