KickApps(创建照片上传所需的类别)

【KickApps(创建照片上传所需的类别)】花门楼前见秋草,岂能贫贱相看老。这篇文章主要讲述KickApps:创建照片上传所需的类别相关的知识,希望能为你提供帮助。
Just add this in script tags in your Affiliate Center footer:

  1. // make category required on photo upload
  2. if ( Ka.Info.PAGE == " pages/newPhotoUpload.jsp" ) {
  3. $j( '#topCategory') .attr( 'not-equal-to','-2') ;
  4. Ka.formValidation.messages.categoryError = " Category is required." ;
  5. $j( '#topCategory') .attr( 'errorkey', 'categoryError') ;
  6. }


    推荐阅读