$HourGlassPopup = function (viewModel, visiblePopup) { //var visiblePopup = ko.observable(false); /* $("#large-indicator").dxLoadIndicator({ height: 60, width: 60 });*/ //$("#header").title = 'dsfs'; //if (headerText == undefined || headerText == null) headerText = '작업중 입니다.' //document.getElementById('header').innerHTML = headerText; viewModel.popupOptions = { width: 280, height: 120, contentTemplate: "info", showTitle: false, title: "작업 중", visible: visiblePopup, dragEnabled: false, shading: false, closeOnOutsideClick: false }; /* return { popupOptions: popupOptions, show: function () { popupVisible(true); } };*/ }