Changeset 16457
- Timestamp:
- 2007/10/16 22:44:59 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/html/user_data/templates/default/js/ownersstore.js
r16444 r16457 4 4 * Copyright (c) 2007 cody lindley 5 5 * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php 6 */ 7 8 /* 9 * ownersstore.js 10 * 11 * オーナーズストア通信用ライブラリ. 12 * CSSやjavascriptのオーバーレイ処理はThickboxのものを使っています. 13 * 6 14 */ 7 15 … … 80 88 // show results 81 89 show_result: function(resp, status) { 82 var title =status;90 var title = resp.status; 83 91 var contents = resp.body; 92 var errcode = resp.errcode || ''; 84 93 85 94 var TB_WIDTH = 700; … … 91 100 $("#TB_window").append( 92 101 "<div id='TB_title'>" 93 + " <div id='TB_ajaxWindowTitle'> " + title + "</div>"102 + " <div id='TB_ajaxWindowTitle'></div>" 94 103 + " <div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' onclick='OwnersStore.remove();'>close</a></div>" 95 104 + "</div>" … … 102 111 $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; 103 112 $("#TB_ajaxContent")[0].scrollTop = 0; 104 $("#TB_ajaxWindowTitle").html(contents); 113 105 114 } 106 107 115 108 116 $("#TB_load").remove(); … … 113 121 $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); 114 122 } 123 124 $("#TB_ajaxWindowTitle").html(title); 115 125 $("#TB_ajaxContent").html(contents); 116 126 $("#TB_window").css({display:"block"});
Note: See TracChangeset
for help on using the changeset viewer.