Authored by yyq

hot word icon-review by huangtao

@@ -81,7 +81,7 @@ @@ -81,7 +81,7 @@
81 <div class="form-group"> 81 <div class="form-group">
82 <label for="content" class="col-sm-2 control-label"> 图标</label> 82 <label for="content" class="col-sm-2 control-label"> 图标</label>
83 <div class="col-sm-10"> 83 <div class="col-sm-10">
84 - <input type="file" name="file" value="[[icon]]" class="observe" data-field="icon"/> 84 + <input id="word-icon" type="file" name="file" value="[[icon]]" class="observe" data-field="icon"/>
85 </div> 85 </div>
86 </div> 86 </div>
87 87
@@ -159,7 +159,7 @@ var Bll = { @@ -159,7 +159,7 @@ var Bll = {
159 __editRender: function () { 159 __editRender: function () {
160 edit.init(); 160 edit.init();
161 161
162 - edit.on("file_onComplete", function (obj) { 162 + edit.on("file_onComplete_word-icon", function (obj) {
163 console.log(obj); 163 console.log(obj);
164 var names = obj.field; 164 var names = obj.field;
165 console.log(names); 165 console.log(names);