hot word icon-review by huangtao
Showing
2 changed files
with
2 additions
and
2 deletions
@@ -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); |
-
Please register or login to post a comment