Mercurial > epgrec.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
157:00b5ed67d792 | 161:84220382fea8 |
---|---|
13 <link rel="stylesheet" href="start/jquery-ui-1.7.2.custom.css" type="text/css"> | 13 <link rel="stylesheet" href="start/jquery-ui-1.7.2.custom.css" type="text/css"> |
14 <script type="text/javascript"> | 14 <script type="text/javascript"> |
15 var PRG = { | 15 var PRG = { |
16 rec:function(id){ | 16 rec:function(id){ |
17 $.get(INISet.prgCancelURL, { reserve_id: id } ,function(data){ | 17 $.get(INISet.prgCancelURL, { reserve_id: id } ,function(data){ |
18 | 18 $('#eraseDialog').html('c潟祉筝......'); |
19 $('#eraseDialog').dialog('open','center'); | |
19 if(data.match(/^error/i)){ | 20 if(data.match(/^error/i)){ |
21 $('#eraseDialog').dialog('close'); | |
20 alert(data); | 22 alert(data); |
21 } | 23 } |
22 else { | 24 else { |
23 $('#resid_' + id ).hide(); | 25 $('#resid_' + id ).hide(); |
26 $('#eraseDialog').dialog('close'); | |
24 } | 27 } |
25 }); | 28 }); |
26 }, | 29 }, |
27 editdialog:function(id) { | 30 editdialog:function(id) { |
28 var str; | 31 var str; |
58 } | 61 } |
59 $(document).ready(function () { | 62 $(document).ready(function () { |
60 var DG = $('#floatBox4Dialog'); | 63 var DG = $('#floatBox4Dialog'); |
61 DG.dialog({title:'篋膣膩',width:500}); | 64 DG.dialog({title:'篋膣膩',width:500}); |
62 DG.dialog('close'); | 65 DG.dialog('close'); |
66 | |
67 var EG = $('#eraseDialog'); | |
68 EG.dialog({title:'c潟祉',width:400}); | |
69 EG.dialog('close'); | |
70 | |
63 }); | 71 }); |
64 | 72 |
65 </script> | 73 </script> |
66 <style type="text/css"> | 74 <style type="text/css"> |
67 <!-- | 75 <!-- |
153 {else} | 161 {else} |
154 憜篋膣障 | 162 憜篋膣障 |
155 {/if} | 163 {/if} |
156 | 164 |
157 <div id="floatBox4Dialog">jQuery UI Dialog</div> | 165 <div id="floatBox4Dialog">jQuery UI Dialog</div> |
158 | 166 <div id="eraseDialog">jQuery UI Dialog</div> |
159 | 167 |
160 {literal} | 168 {literal} |
161 <script type="text/javascript"> | 169 <script type="text/javascript"> |
162 var INISet = { | 170 var INISet = { |
163 prgRecordURL : 'record.php', // 膂≧篋膣 | 171 prgRecordURL : 'record.php', // 膂≧篋膣 |