Procházet zdrojové kódy

Merge pull request #417 from spil-johan/master

Don't send empty form fields as undefined for file uploads
bubble
Tony Tam před 10 roky
rodič
revize
9e8e62c17c
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      src/main/coffeescript/view/OperationView.coffee

+ 2
- 1
src/main/coffeescript/view/OperationView.coffee Zobrazit soubor

@@ -121,7 +121,8 @@ class OperationView extends Backbone.View
# add params
for param in @model.parameters
if param.paramType is 'form'
bodyParam.append(param.name, map[param.name])
if map[param.name] != undefined
bodyParam.append(param.name, map[param.name])

# headers in operation
headerParams = {}


Načítá se…
Zrušit
Uložit