2016-04-25 00:47:31 +00:00
|
|
|
//= require jquery
|
2016-07-07 23:39:52 +00:00
|
|
|
//= require bootstrap-sprockets
|
2016-04-25 00:47:31 +00:00
|
|
|
//= require jquery_ujs
|
|
|
|
//= require turbolinks
|
2017-10-22 06:30:44 +00:00
|
|
|
//= require bootstrap.min.js
|
2016-09-28 10:27:54 +00:00
|
|
|
|
2017-10-22 06:30:44 +00:00
|
|
|
//= require gentelella/src/js/custom.js
|
|
|
|
//= require gentelella/vendors/Chart.js/dist/Chart.min.js
|
|
|
|
//= require gentelella/vendors/Flot/jquery.flot.js
|
|
|
|
//= require gentelella/vendors/Flot/jquery.flot.pie.js
|
|
|
|
//= require gentelella/vendors/Flot/jquery.flot.time.js
|
|
|
|
//= require gentelella/vendors/Flot/jquery.flot.stack.js
|
|
|
|
//= require gentelella/vendors/Flot/jquery.flot.resize.js
|
|
|
|
//= require gentelella/vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js
|
|
|
|
//= require gentelella/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js
|
|
|
|
//= require gentelella/vendors/dropzone/dist/min/dropzone.min.js
|
|
|
|
//= require gentelella/vendors/moment/moment.js
|
|
|
|
//= require gentelella/vendors/nprogress/nprogress.js
|
|
|
|
//= require gentelella/vendors/validator/validator.js
|
2017-10-29 05:28:22 +00:00
|
|
|
|
|
|
|
$(function() {
|
2017-10-29 06:15:18 +00:00
|
|
|
$('#flash').delay(500).fadeIn('normal', function() {
|
|
|
|
$(this).delay(2500).fadeOut();
|
|
|
|
});
|
2017-10-29 05:28:22 +00:00
|
|
|
});
|
2017-10-29 06:15:18 +00:00
|
|
|
|
|
|
|
function CheckLocation(){
|
|
|
|
$(document).mousedown(function(e){
|
|
|
|
// context menu 가 아닌 다른 영역을 클릭한경우 판단
|
|
|
|
if ($(e.target).parents(".contextmenu").length !== 0)
|
|
|
|
return;
|
|
|
|
$(".contextmenu").hide();
|
|
|
|
$(document).unbind('mousedown');
|
|
|
|
});
|
|
|
|
}
|
|
|
|
function ShowContextMenu(className){
|
|
|
|
$("."+className).css({
|
|
|
|
left:event.pageX+"px",
|
|
|
|
top:event.pageY+"px"
|
|
|
|
}).show();
|
|
|
|
}
|