|
@@ -148,8 +148,15 @@ function showDialogOfType (type) {
|
|
|
// $('#active-tip-modal').attr('data-modal-type', 'success').modal('show')
|
|
|
// $('#active-tip-modal').attr('data-modal-type', 'over').modal('show')
|
|
|
// $('#active-tip-modal').attr('data-modal-type', 'code').modal('show')
|
|
|
-
|
|
|
- $('#active-tip-modal').attr('data-modal-type', type).modal('show')
|
|
|
+ var modal = $('#active-tip-modal')
|
|
|
+ modal.attr('data-modal-type', type).modal('show')
|
|
|
+ if (type === 'over') {
|
|
|
+ modal.off('click')
|
|
|
+ } else {
|
|
|
+ modal.off('click').on('click', function () {
|
|
|
+ modal.modal('hide')
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// 固定事件
|