Develop and Download Open Source Software

Browse Subversion Repository

Diff of /js/domain.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 35 by berupon, Tue Jan 19 02:11:50 2010 UTC revision 41 by berupon, Fri Jan 22 14:20:16 2010 UTC
# Line 227  var app = (function () { Line 227  var app = (function () {
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();
# Line 393  var et = new Date(); Line 380  var et = new Date();
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) {
# Line 476  var et = new Date(); Line 462  var et = new Date();
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) {

Legend:
Removed from v.35  
changed lines
  Added in v.41

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26