Преглед изворни кода

prepare for file upload in swagger-js

bubble
Tony Tam пре 9 година
родитељ
комит
65034e0876
1 измењених фајлова са 1 додато и 0 уклоњено
  1. +1
    -0
      src/main/coffeescript/view/OperationView.coffee

+ 1
- 0
src/main/coffeescript/view/OperationView.coffee Прегледај датотеку

@@ -195,6 +195,7 @@ class OperationView extends Backbone.View
if(o.value? && jQuery.trim(o.value).length > 0)
map[o.name] = o.value
if o.type is "file"
map[o.name] = o.files[0]
isFileUpload = true

for o in form.find("textarea")


Loading…
Откажи
Сачувај