comparison templates/recordedTable.html @ 165:3d4df1fe4166

merged with upstream
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 08 Apr 2010 04:22:20 +0900
parents c6c6bd734f18
children
comparison
equal deleted inserted replaced
160:47a3acf19870 165:3d4df1fe4166
23 $('#floatBox4Dialog').html(str); 23 $('#floatBox4Dialog').html(str);
24 $('#floatBox4Dialog').dialog('open', 'center'); 24 $('#floatBox4Dialog').dialog('open', 'center');
25 }, 25 },
26 rec:function(id){ 26 rec:function(id){
27 var df = 0; 27 var df = 0;
28
29 if( $('#delete_file').attr('checked') ) { 28 if( $('#delete_file').attr('checked') ) {
30 df = 1; 29 df = 1;
31 } 30 }
32 $('#floatBox4Dialog').dialog('close'); 31 $('#floatBox4Dialog').dialog('close');
33 32 $('#floatBox4Dialog').html('削除中.......');
33 $('#floatBox4Dialog').dialog('open', 'center');
34 $.get(INISet.prgCancelURL, { reserve_id: id, delete_file: df } ,function(data){ 34 $.get(INISet.prgCancelURL, { reserve_id: id, delete_file: df } ,function(data){
35
36 if(data.match(/^error/i)){ 35 if(data.match(/^error/i)){
36 $('#floatBox4Dialog').dialog('close');
37 alert(data); 37 alert(data);
38 } 38 }
39 else { 39 else {
40 // alert(data);
40 $('#resid_' + id ).hide(); 41 $('#resid_' + id ).hide();
42 $('#floatBox4Dialog').dialog('close');
41 } 43 }
42 }); 44 });
43 }, 45 },
44 editdialog:function(id) { 46 editdialog:function(id) {
45 $('#floatBox4Dialog').dialog({title:'変更',width:500}); 47 $('#floatBox4Dialog').dialog({title:'変更',width:500});