Authored by yyq

fix bucket-review by huangtao

@@ -73,7 +73,9 @@ new common.dropDown({ @@ -73,7 +73,9 @@ new common.dropDown({
73 73
74 // 初始化日期插件 74 // 初始化日期插件
75 new common.edit("#filter").init(); 75 new common.edit("#filter").init();
76 -var edit = new common.edit(".modal-body"); 76 +var edit = new common.edit(".modal-body", {
  77 + bucket: "yhb-img01"
  78 +});
77 var Bll = { 79 var Bll = {
78 module: null, 80 module: null,
79 getQueryString: function (name) { 81 getQueryString: function (name) {
@@ -412,13 +414,13 @@ $(document).on("click", "input[name='searchType']", function() { @@ -412,13 +414,13 @@ $(document).on("click", "input[name='searchType']", function() {
412 var type = $(this).val(); 414 var type = $(this).val();
413 Bll.module["searchType"] = type; 415 Bll.module["searchType"] = type;
414 switch (type) { 416 switch (type) {
415 - case "1": 417 + case "1":
416 $(".search_type2").hide(); 418 $(".search_type2").hide();
417 $("#matchPcUrl").removeAttr("required"); 419 $("#matchPcUrl").removeAttr("required");
418 $("#matchAppAction").removeAttr("required"); 420 $("#matchAppAction").removeAttr("required");
419 $("#matchAppUrl").removeAttr("required"); 421 $("#matchAppUrl").removeAttr("required");
420 - break;  
421 - case "2": 422 + break;
  423 + case "2":
422 $(".search_type2").show(); 424 $(".search_type2").show();
423 $("#matchPcUrl").attr("required", "required"); 425 $("#matchPcUrl").attr("required", "required");
424 $("#matchAppAction").attr("required", "required"); 426 $("#matchAppAction").attr("required", "required");