| 227 |
// 擬似ページの破棄時に呼び出すコールバック。戻り値が有る場合はcookieに保存 |
// 擬似ページの破棄時に呼び出すコールバック。戻り値が有る場合はcookieに保存 |
| 228 |
this.pageUnloadHandler = null; |
this.pageUnloadHandler = null; |
| 229 |
|
|
|
// Modal PopUp 用の処理 |
|
|
this.showPopup = function () { |
|
|
popup.show(); |
|
|
}; |
|
|
|
|
|
this.hidePopup = function () { |
|
|
popup.hide(); |
|
|
}; |
|
|
|
|
|
this.setPopup = function (elem) { |
|
|
popup.elem.appendChild(elem); |
|
|
}; |
|
|
|
|
| 230 |
// 入力補助等のevent handlers設定 |
// 入力補助等のevent handlers設定 |
| 231 |
this.setHelpers = function () { |
this.setHelpers = function () { |
| 232 |
setAutoFocus(); |
setAutoFocus(); |
| 380 |
var timerID = setInterval(checkLocationHash, 10); |
var timerID = setInterval(checkLocationHash, 10); |
| 381 |
}); |
}); |
| 382 |
var draggable = new Draggable(); |
var draggable = new Draggable(); |
|
var popup = new ModalPopUp(); |
|
| 383 |
|
|
| 384 |
var pageUrl = null; |
var pageUrl = null; |
| 385 |
function ajaxRequest(url, method, parameters, onSuccess, onFailure) { |
function ajaxRequest(url, method, parameters, onSuccess, onFailure) { |
| 462 |
function checkLocationHash() { |
function checkLocationHash() { |
| 463 |
if (location.hash != prevHash) { |
if (location.hash != prevHash) { |
| 464 |
if (box) { |
if (box) { |
|
popup.hide(); |
|
|
popup.clear(); |
|
| 465 |
if (self.pageUnloadHandler) { |
if (self.pageUnloadHandler) { |
| 466 |
var ret = self.pageUnloadHandler(); |
var ret = self.pageUnloadHandler(); |
| 467 |
if (ret) { |
if (ret) { |