diff --git a/application/default/views/scripts/review/review.phtml b/application/default/views/scripts/review/review.phtml index 7cde7792..f99c0c58 100755 --- a/application/default/views/scripts/review/review.phtml +++ b/application/default/views/scripts/review/review.phtml @@ -25,11 +25,11 @@

',$md['description']);?>

- [查看元数据元数据查看] - [Adobe PDF格式PDF版本下载] - [OpenOffice odt格式ODT版本下载] - [MS Word doc格式DOC版本下载] - [查看XML源文件XML源文件查看] + [查看元数据元数据查看] + [Adobe PDF格式PDF版本下载] + [OpenOffice odt格式ODT版本下载] + [MS Word doc格式DOC版本下载] + [查看XML源文件XML源文件查看] [元数据评审说明元数据评审说明]

@@ -83,7 +83,7 @@ - + 查看可上传的附件类型

@@ -188,7 +188,7 @@ $(document).ready(function() { $('#file_upload').uploadify({ 'uploader' : '/static/js/uploadify/uploadify.swf', - 'scriptData' : {'PHPSESSID' : ''}, + 'scriptData': {'PHPSESSID' : ''}, 'script' : '/upload', 'cancelImg' : '/static/js/uploadify/cancel.png', 'folder' : '/uploads', @@ -200,11 +200,7 @@ $(document).ready(function() { var obj = jQuery.parseJSON(response); var html; if(obj.error=='') - { - html = obj.html; - }else{ - html = obj.error; - } + {html = obj.html;}else{html = obj.error;} $('
  • ', { "id":'uploadedItem_'+obj.attid, "class":'uploadifyQueueItem', @@ -213,6 +209,9 @@ $(document).ready(function() { $('#deletebtn_'+obj.attid).bind('click', function() { deleteatt(obj.attid); }); + }, + 'onError' : function (event,ID,fileObj,errorObj) { + alert(errorObj.type + ' Error: ' + errorObj.info); } }); @@ -245,6 +244,9 @@ $(document).ready(function() { }); } }); + function checkfiles(rid){ + alert(rid); + } });