Commit 0d141b668341a34171ad912e46d1c3cfa4cd51d0

Authored by 陈浩
1 parent 37326f03

update

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