Authored by chenchao

fix tip

@@ -305,10 +305,12 @@ var operationEdit={ @@ -305,10 +305,12 @@ var operationEdit={
305 common.util.__tip(rs.message || rs.data.message); 305 common.util.__tip(rs.message || rs.data.message);
306 location.reload(); 306 location.reload();
307 location.href = "/promotionInfo/edit/"+_g.promotionId; 307 location.href = "/promotionInfo/edit/"+_g.promotionId;
308 - } 308 + }
  309 + return false;
309 },function(rs){ 310 },function(rs){
310 common.util.__tip("保存失败!", "warning"); 311 common.util.__tip("保存失败!", "warning");
311 - }); 312 + });
  313 + return false;
312 }, 314 },
313 validate:function(_reqData){ 315 validate:function(_reqData){
314 if(!_reqData || !_reqData.promotionType){ 316 if(!_reqData || !_reqData.promotionType){
@@ -169,7 +169,7 @@ var rejectPromotions={ @@ -169,7 +169,7 @@ var rejectPromotions={
169 }; 169 };
170 common.util.__ajax2(_options,function (res) { 170 common.util.__ajax2(_options,function (res) {
171 if (res.code == "200") { 171 if (res.code == "200") {
172 - common.util.__tip("提交成功", "growl-success"); 172 + common.util.__tip("提交成功", "success");
173 location.href = "/promotionInfo/edit/"+_g.promotionId||""; 173 location.href = "/promotionInfo/edit/"+_g.promotionId||"";
174 } else { 174 } else {
175 common.util.__tip(res.message, "warning"); 175 common.util.__tip(res.message, "warning");