Commit 0d141b668341a34171ad912e46d1c3cfa4cd51d0

Authored by 陈浩
1 parent 37326f03

update

src/main/resources/templates/page/video.html
@@ -160,9 +160,7 @@ @@ -160,9 +160,7 @@
160 var param = location.search; 160 var param = location.search;
161 if (param.indexOf("page=")!= -1) { 161 if (param.indexOf("page=")!= -1) {
162 if(page < 10){ 162 if(page < 10){
163 - alert(param)  
164 param = param.substring(1,param.length-7); 163 param = param.substring(1,param.length-7);
165 - alert(param)  
166 }else if (page < 100){ 164 }else if (page < 100){
167 param = param.substring(1,param.length-8); 165 param = param.substring(1,param.length-8);
168 }else if (page < 1000){ 166 }else if (page < 1000){
@@ -172,9 +170,7 @@ @@ -172,9 +170,7 @@
172 } 170 }
173 window.location.href = "http://shenhe.cnlive.com/videos/page?"+param+"&page="+page; 171 window.location.href = "http://shenhe.cnlive.com/videos/page?"+param+"&page="+page;
174 }else { 172 }else {
175 - alert(param)  
176 param = param.substring(1,param.length); 173 param = param.substring(1,param.length);
177 - alert(param)  
178 window.location.href = "http://shenhe.cnlive.com/videos/page?"+param+"&page="+page; 174 window.location.href = "http://shenhe.cnlive.com/videos/page?"+param+"&page="+page;
179 } 175 }
180 } 176 }
src/main/resources/templates/page/videoDetail.html
@@ -247,7 +247,7 @@ @@ -247,7 +247,7 @@
247 var action_note_type = $("#action_note_type").val(); 247 var action_note_type = $("#action_note_type").val();
248 if (action_note_type == 'reject') { 248 if (action_note_type == 'reject') {
249 $.post("/videos/shenheVideo",{ 249 $.post("/videos/shenheVideo",{
250 - id:id, activity_id:activity_id, state: state, attr_tags: msg,msg:msg,callback:callback[0] 250 + id:id, activity_id:activity_id, state: state, attr_tags: msg,msg:msg,callback:callback
251 }, 251 },
252 function (data) { 252 function (data) {
253 if (data.errorCode==0){ 253 if (data.errorCode==0){
@@ -272,7 +272,7 @@ @@ -272,7 +272,7 @@
272 return false; 272 return false;
273 } 273 }
274 $.post("/videos/shenheVideo",{ 274 $.post("/videos/shenheVideo",{
275 - id:id, activity_id:activity_id, state: state, attr_tags: msg,msg:msg,callback:callback[0] 275 + id:id, activity_id:activity_id, state: state, attr_tags: msg,msg:msg,callback:callback
276 }, 276 },
277 function (data) { 277 function (data) {
278 if (data.errorCode==0){ 278 if (data.errorCode==0){