소스 정리

main
이범준 5 months ago
parent e693eb4616
commit 9de2b2da49

@ -8,6 +8,7 @@
<script src="<c:url value="/webjars/3rd-party/sneat/libs/popper/popper.js?${ver}"/>"></script> <script src="<c:url value="/webjars/3rd-party/sneat/libs/popper/popper.js?${ver}"/>"></script>
<script src="<c:url value="/webjars/3rd-party/sneat/js/bootstrap.js?${ver}"/>"></script> <script src="<c:url value="/webjars/3rd-party/sneat/js/bootstrap.js?${ver}"/>"></script>
<script src="<c:url value="/webjars/3rd-party/sneat/libs/jquery/jquery.js?${ver}"/>"></script> <script src="<c:url value="/webjars/3rd-party/sneat/libs/jquery/jquery.js?${ver}"/>"></script>
<script src="<c:url value="/webjars/3rd-party/jquery-ui/1.13.2/jquery-ui.js?${ver}"/>"></script>
<script src="<c:url value="/webjars/3rd-party/sneat/js/config.js?${ver}"/>"></script> <script src="<c:url value="/webjars/3rd-party/sneat/js/config.js?${ver}"/>"></script>

@ -29,8 +29,8 @@
<link rel="stylesheet" href="<c:url value="/resources/css/login.css?${ver}"/>" /> <link rel="stylesheet" href="<c:url value="/resources/css/login.css?${ver}"/>" />
<!-- Vendors CSS --> <!-- Vendors CSS -->
<link rel="stylesheet" href="<c:url value="/resources/sneat/libs/perfect-scrollbar/perfect-scrollbar.css?${ver}"/>" /> <link rel="stylesheet" href="<c:url value="/webjars/3rd-party/sneat/libs/perfect-scrollbar/perfect-scrollbar.css?${ver}"/>" />
<link rel="stylesheet" href="<c:url value="/resources/sneat/libs/bootstrap-datepicker/bootstrap-datepicker.css?${ver}"/>" /> <link rel="stylesheet" href="<c:url value="/webjars/3rd-party/sneat/libs/bootstrap-datepicker/bootstrap-datepicker.css?${ver}"/>" />
</head> </head>
<body> <body>

@ -107,7 +107,7 @@ var dialog = {
else { else {
var self = this; var self = this;
ajax.get({ ajax.get({
url:wctx.url("/resources/html/dialog.html"), url:wctx.url("/webjars/html/dialog.html"),
success:function(resp) { success:function(resp) {
self.template = resp; self.template = resp;
self.create(conf); self.create(conf);
@ -169,9 +169,9 @@ var dialog = {
if (conf.timeout) if (conf.timeout)
setTimeout(function(){dialog.close(id);}, conf.timeout); setTimeout(function(){dialog.close(id);}, conf.timeout);
} }
last.setZIndex(dlg, 10); last.setZIndex(dlg, 10);
dlg.modal("show"); dlg.draggable({handle: ".modal-header"}).modal("show");
$(".modal-backdrop").each(function() { // gives id to its backdrop $(".modal-backdrop").each(function() { // gives id to its backdrop
let backdrop = $(this); let backdrop = $(this);
if (!backdrop.prop("id")) if (!backdrop.prop("id"))

Loading…
Cancel
Save