diff 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
line wrap: on
line diff
--- a/templates/recordedTable.html	Fri Apr 02 20:40:55 2010 +0900
+++ b/templates/recordedTable.html	Thu Apr 08 04:22:20 2010 +0900
@@ -25,19 +25,21 @@
 		},
 		rec:function(id){
 			var df = 0;
-
 			if( $('#delete_file').attr('checked') ) {
 				df = 1;
 			}
 			$('#floatBox4Dialog').dialog('close');
-			
+			$('#floatBox4Dialog').html('削除中.......');
+			$('#floatBox4Dialog').dialog('open', 'center');
 			$.get(INISet.prgCancelURL, { reserve_id: id, delete_file: df } ,function(data){
-				
 				if(data.match(/^error/i)){
+					$('#floatBox4Dialog').dialog('close');
 					alert(data);
 				}
 				else {
+//					alert(data);
 					$('#resid_' + id ).hide();
+					$('#floatBox4Dialog').dialog('close');
 				}
 			});
 		},