Changeset 21515 for branches/version-2_12-dev/html
- Timestamp:
- 2012/02/15 20:18:09 (12 years ago)
- Location:
- branches/version-2_12-dev/html
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/html/admin/load_module_config.php
r21514 r21515 42 42 43 43 $objQuery = new SC_Query(); 44 $arrRet = $objQuery->select('module_code', 'dtb_module', "module_id = ?", array($module_id));44 $arrRet = $objQuery->select('module_code', 'dtb_module', 'module_id = ?', array($module_id)); 45 45 46 46 if (isset($arrRet[0]['module_code'])) { -
branches/version-2_12-dev/html/user_data/packages/admin/js/ownersstore.js.php
r21514 r21515 40 40 // remove ajax window 41 41 remove: function() { 42 $( '#TB_window').fadeOut(42 $("#TB_window").fadeOut( 43 43 'fast', 44 44 function(){ … … 46 46 } 47 47 ); 48 $( '#TB_load').remove();48 $("#TB_load").remove(); 49 49 //if IE 6 50 50 if (typeof document.body.style.maxHeight == 'undefined') { … … 63 63 if (document.getElementById('TB_HideSelect') === null) { 64 64 $('body').append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>"); 65 $( '#TB_overlay').click(this.remove);65 $("#TB_overlay").click(this.remove); 66 66 } 67 67 //all others … … 69 69 if (document.getElementById('TB_overlay') === null) { 70 70 $('body').append("<div id='TB_overlay'></div><div id='TB_window'></div>"); 71 $( '#TB_overlay').click(this.remove);71 $("#TB_overlay").click(this.remove); 72 72 } 73 73 } … … 75 75 if (this.detectMacFF()) { 76 76 //use png overlay so hide flash 77 $( '#TB_overlay').addClass('TB_overlayMacFFBGHack');77 $("#TB_overlay").addClass('TB_overlayMacFFBGHack'); 78 78 } else { 79 79 //use background and opacity 80 $( '#TB_overlay').addClass('TB_overlayBG');80 $("#TB_overlay").addClass('TB_overlayBG'); 81 81 } 82 82 … … 86 86 + " <p style='color:#ffffff'>" + loading_message + "</p>" 87 87 + " <img src='" + loading_img.src + "' />" 88 + '</div>'88 + "</div>" 89 89 ); 90 90 $('#TB_load').show(); … … 101 101 var ajaxContentH = TB_HEIGHT - 45; 102 102 103 if ($( '#TB_window').css('display') != 'block') {104 $( '#TB_window').append(103 if ($("#TB_window").css('display') != 'block') { 104 $("#TB_window").append( 105 105 "<div id='TB_title'>" 106 106 + " <div id='TB_ajaxWindowTitle'></div>" 107 107 + " <div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' onclick='OwnersStore.remove();'>close</a></div>" 108 + '</div>'108 + "</div>" 109 109 + "<div id='TB_ajaxContent' style='width:" + ajaxContentW + "px;height:" + ajaxContentH + "px'>" 110 + '</div>'110 + "</div>" 111 111 ); 112 112 //this means the window is already up, we are just loading new content via ajax 113 113 } else { 114 $( '#TB_ajaxContent')[0].style.width = ajaxContentW +'px';115 $( '#TB_ajaxContent')[0].style.height = ajaxContentH +'px';116 $( '#TB_ajaxContent')[0].scrollTop = 0;114 $("#TB_ajaxContent")[0].style.width = ajaxContentW +'px'; 115 $("#TB_ajaxContent")[0].style.height = ajaxContentH +'px'; 116 $("#TB_ajaxContent")[0].scrollTop = 0; 117 117 } 118 118 119 $( '#TB_load').remove();120 $( '#TB_window').css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'});119 $("#TB_load").remove(); 120 $("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); 121 121 122 122 // take away IE6 123 123 if (!(jQuery.browser.msie && jQuery.browser.version < 7)) { 124 $( '#TB_window').css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});124 $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); 125 125 } 126 126 127 $( '#TB_ajaxWindowTitle').html(title);128 $( '#TB_ajaxContent').html(contents);129 $( '#TB_window').css({display:'block'});127 $("#TB_ajaxWindowTitle").html(title); 128 $("#TB_ajaxContent").html(contents); 129 $("#TB_window").css({display:'block'}); 130 130 131 131 // DL成功時に設定ボタンを表示
Note: See TracChangeset
for help on using the changeset viewer.