diff --git a/web/jsFile/home-update.js b/web/jsFile/home-update.js
index 4484f60..bec3aa0 100644
--- a/web/jsFile/home-update.js
+++ b/web/jsFile/home-update.js
@@ -4,6 +4,10 @@ $(document).ready(function () {
function upadateFrame(e) {
e.preventDefault();
var updateUrl=$(this).attr('href');
- $('.update-frame').load(updateUrl+' .updated');
+ var arr=updateUrl.split('?');
+ var proccessIndex=arr[1];
+ var indexData={"index":proccessIndex};
+ $('.update-frame').load(updateUrl+' .updated',indexData,function (data) {
+ });
history.pushState(null,null,updateUrl);
}
diff --git a/web/jsFile/search.js b/web/jsFile/search.js
index c4482c1..b74575a 100644
--- a/web/jsFile/search.js
+++ b/web/jsFile/search.js
@@ -2,7 +2,7 @@ $(document).ready(function () {
$(document).off('click',searchmsg).on('click','.search-button',searchmsg);
$(document).off('keydown',searchmsg).on('keydown','.search-input',KDsearchmsg);
$(document).off('click',teacherSelect).on('click','.select-it.teacher',teacherSelect);
- $(document).off('click',studentSelect).on('click','.select-it.teacher',studentSelect);
+ $(document).off('click',studentSelect).on('click','.select-it.student',studentSelect);
})
function searchmsg(e) {
if($('.search-input').val()=='')
diff --git a/web/jsFile/upload_action.js b/web/jsFile/upload_action.js
index c3214c9..c756a06 100644
--- a/web/jsFile/upload_action.js
+++ b/web/jsFile/upload_action.js
@@ -4,8 +4,8 @@ $(document).ready(function () {
$(document).off('change',showMsg).on('change','.true-select',showMsg)
})
function sendFile() {
- var fileData =new FormData;
- var Url4='testfrom.jsp';
+ var fileData =new FormData();
+ var Url4='student-upload-finished-product';
var file=$('.true-select').files;
if($('.true-select').val()=='')
{