Mercurial > epgrec.yaz
diff templates/reservationTable.html @ 161:84220382fea8
mod: Ï¿²èÃæ¤Î¥¥ã¥ó¥»¥ë¤ò²Äǽ¤Ë¤·¤¿¡ÊÆ°ºî³Îǧ¡¢¤Þ¤ÀÉÔ´°Á´¤«¤â¡Ë
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Sun, 04 Apr 2010 17:10:17 +0900 |
parents | 03107333d942 |
children |
line wrap: on
line diff
--- a/templates/reservationTable.html Tue Mar 30 19:00:39 2010 +0900 +++ b/templates/reservationTable.html Sun Apr 04 17:10:17 2010 +0900 @@ -15,12 +15,15 @@ var PRG = { rec:function(id){ $.get(INISet.prgCancelURL, { reserve_id: id } ,function(data){ - + $('#eraseDialog').html('ã‚ャンセルä¸......'); + $('#eraseDialog').dialog('open','center'); if(data.match(/^error/i)){ + $('#eraseDialog').dialog('close'); alert(data); } else { $('#resid_' + id ).hide(); + $('#eraseDialog').dialog('close'); } }); }, @@ -60,6 +63,11 @@ var DG = $('#floatBox4Dialog'); DG.dialog({title:'予約編集',width:500}); DG.dialog('close'); + + var EG = $('#eraseDialog'); + EG.dialog({title:'ã‚ャンセル',width:400}); + EG.dialog('close'); + }); </script> @@ -155,7 +163,7 @@ {/if} <div id="floatBox4Dialog">jQuery UI Dialog</div> - +<div id="eraseDialog">jQuery UI Dialog</div> {literal} <script type="text/javascript">