Ignore:
Timestamp:
2012/02/11 05:48:00 (12 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/html/user_data/packages/admin/js/ownersstore.js.php

    r21441 r21481  
    4141    remove: function() { 
    4242        $("#TB_window").fadeOut( 
    43             "fast", 
     43            'fast', 
    4444            function(){ 
    45                 $('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove(); 
     45                $('#TB_window,#TB_overlay,#TB_HideSelect').trigger('unload').unbind().remove(); 
    4646            } 
    4747        ); 
    4848        $("#TB_load").remove(); 
    4949        //if IE 6 
    50         if (typeof document.body.style.maxHeight == "undefined") { 
    51             $("body", "html").css({height: "auto", width: "auto"}); 
    52             $("html").css("overflow", ""); 
     50        if (typeof document.body.style.maxHeight == 'undefined') { 
     51            $('body', 'html').css({height: 'auto', width: 'auto'}); 
     52            $('html').css('overflow', ""); 
    5353        } 
    5454        return false; 
     
    5757    show_loading: function() { 
    5858        //if IE 6 
    59         if (typeof document.body.style.maxHeight === "undefined") { 
    60             $("body","html").css({height: "100%", width: "100%"}); 
    61             $("html").css("overflow","hidden"); 
     59        if (typeof document.body.style.maxHeight === 'undefined') { 
     60            $('body','html').css({height: "100%", width: "100%"}); 
     61            $('html').css('overflow','hidden'); 
    6262            //iframe to hide select elements in ie6 
    63             if (document.getElementById("TB_HideSelect") === null) { 
    64                 $("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>"); 
     63            if (document.getElementById('TB_HideSelect') === null) { 
     64                $('body').append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>"); 
    6565                $("#TB_overlay").click(this.remove); 
    6666            } 
    6767        //all others 
    6868        } else { 
    69             if (document.getElementById("TB_overlay") === null) { 
    70                 $("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>"); 
     69            if (document.getElementById('TB_overlay') === null) { 
     70                $('body').append("<div id='TB_overlay'></div><div id='TB_window'></div>"); 
    7171                $("#TB_overlay").click(this.remove); 
    7272            } 
     
    7575        if (this.detectMacFF()) { 
    7676            //use png overlay so hide flash 
    77             $("#TB_overlay").addClass("TB_overlayMacFFBGHack"); 
     77            $("#TB_overlay").addClass('TB_overlayMacFFBGHack'); 
    7878        } else { 
    7979            //use background and opacity 
    80             $("#TB_overlay").addClass("TB_overlayBG"); 
     80            $("#TB_overlay").addClass('TB_overlayBG'); 
    8181        } 
    8282 
    8383        //add and show loader to the page 
    84         $("body").append( 
     84        $('body').append( 
    8585              "<div id='TB_load'>" 
    8686            + "  <p style='color:#ffffff'>" + loading_message + "</p>" 
     
    101101        var ajaxContentH = TB_HEIGHT - 45; 
    102102 
    103         if ($("#TB_window").css("display") != "block") { 
     103        if ($("#TB_window").css('display') != 'block') { 
    104104            $("#TB_window").append( 
    105105                "<div id='TB_title'>" 
     
    112112         //this means the window is already up, we are just loading new content via ajax 
    113113        } else { 
    114             $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px"; 
    115             $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; 
     114            $("#TB_ajaxContent")[0].style.width = ajaxContentW +'px'; 
     115            $("#TB_ajaxContent")[0].style.height = ajaxContentH +'px'; 
    116116            $("#TB_ajaxContent")[0].scrollTop = 0; 
    117117        } 
     
    127127        $("#TB_ajaxWindowTitle").html(title); 
    128128        $("#TB_ajaxContent").html(contents); 
    129         $("#TB_window").css({display:"block"}); 
     129        $("#TB_window").css({display:'block'}); 
    130130 
    131131        // DL成功時に設定ボタンを表示 
Note: See TracChangeset for help on using the changeset viewer.