Browse Source
Merge pull request #10431 from abpframework/EngincanV/issue-10404
Allow passing only title to sweetalert messages
pull/10436/head
albert
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
5 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert2/abp-sweetalert2.js
|
|
@ -36,11 +36,6 @@ var abp = abp || {}; |
|
|
/* MESSAGE **************************************************/ |
|
|
/* MESSAGE **************************************************/ |
|
|
|
|
|
|
|
|
var showMessage = function (type, message, title) { |
|
|
var showMessage = function (type, message, title) { |
|
|
if (!title) { |
|
|
|
|
|
title = message; |
|
|
|
|
|
message = undefined; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var opts = $.extend( |
|
|
var opts = $.extend( |
|
|
{}, |
|
|
{}, |
|
|
abp.libs.sweetAlert.config['default'], |
|
|
abp.libs.sweetAlert.config['default'], |
|
|
|