Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ihor Kaharlichenko
swagger-ui-oms
Commits
f4d77d71
Commit
f4d77d71
authored
Jul 16, 2013
by
Tony Tam
Browse files
fix for #261
parent
390ee1c7
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
dist/css/screen.css
View file @
f4d77d71
...
...
@@ -1759,29 +1759,24 @@ pre code {
}
.info_title
{
padding-left
:
25px
;
padding-bottom
:
10px
;
font-weight
:
bold
;
font-size
:
25px
;
}
.info_description
{
padding-left
:
25px
;
padding-bottom
:
10px
;
font-size
:
15px
;
}
.info_tos
{
padding-left
:
25px
;
padding-bottom
:
5px
;
}
.info_license
{
padding-left
:
25px
;
padding-bottom
:
5px
;
}
.info_contact
{
padding-left
:
25px
;
padding-bottom
:
5px
;
}
\ No newline at end of file
dist/swagger-ui.js
View file @
f4d77d71
...
...
@@ -1775,7 +1775,7 @@ templates['status_code'] = template(function (Handlebars,depth0,helpers,partials
};
OperationView
.
prototype
.
submitOperation
=
function
(
e
)
{
var
error_free
,
form
,
map
,
o
,
opts
,
_i
,
_len
,
_
ref
;
var
error_free
,
form
,
map
,
o
,
opts
,
_i
,
_j
,
_len
,
_
len1
,
_ref
,
_ref1
;
if
(
e
!=
null
)
{
e
.
preventDefault
();
}
...
...
@@ -1806,6 +1806,14 @@ templates['status_code'] = template(function (Handlebars,depth0,helpers,partials
map
[
o
.
name
]
=
o
.
value
;
}
}
_ref1
=
form
.
find
(
"
.body-textarea,.parameter
"
);
for
(
_j
=
0
,
_len1
=
_ref1
.
length
;
_j
<
_len1
;
_j
++
)
{
o
=
_ref1
[
_j
];
if
((
o
.
value
!=
null
)
&&
jQuery
.
trim
(
o
.
value
).
length
>
0
)
{
console
.
log
(
o
.
name
+
"
,
"
+
o
.
value
);
map
[
o
.
name
]
=
encodeURI
(
o
.
value
);
}
}
console
.
log
(
map
);
opts
.
responseContentType
=
$
(
"
div select[name=responseContentType]
"
,
$
(
this
.
el
)).
val
();
opts
.
requestContentType
=
$
(
"
div select[name=parameterContentType]
"
,
$
(
this
.
el
)).
val
();
...
...
dist/swagger-ui.min.js
View file @
f4d77d71
This diff is collapsed.
Click to expand it.
src/main/coffeescript/view/OperationView.coffee
View file @
f4d77d71
...
...
@@ -74,6 +74,11 @@ class OperationView extends Backbone.View
if
(
o
.
value
?
&&
jQuery
.
trim
(
o
.
value
).
length
>
0
)
map
[
o
.
name
]
=
o
.
value
for
o
in
form
.
find
(
".body-textarea,.parameter"
)
if
(
o
.
value
?
&&
jQuery
.
trim
(
o
.
value
).
length
>
0
)
console
.
log
o
.
name
+
", "
+
o
.
value
map
[
o
.
name
]
=
encodeURI
(
o
.
value
)
console
.
log
map
opts
.
responseContentType
=
$
(
"div select[name=responseContentType]"
,
$
(
@
el
)).
val
()
...
...
src/main/html/css/screen.css
View file @
f4d77d71
...
...
@@ -1759,29 +1759,24 @@ pre code {
}
.info_title
{
padding-left
:
25px
;
padding-bottom
:
10px
;
font-weight
:
bold
;
font-size
:
25px
;
}
.info_description
{
padding-left
:
25px
;
padding-bottom
:
10px
;
font-size
:
15px
;
}
.info_tos
{
padding-left
:
25px
;
padding-bottom
:
5px
;
}
.info_license
{
padding-left
:
25px
;
padding-bottom
:
5px
;
}
.info_contact
{
padding-left
:
25px
;
padding-bottom
:
5px
;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment