manual merge of #303

This commit is contained in:
Tony Tam
2013-09-05 09:31:21 -07:00
parent 73c89ba3f6
commit 046e534d03
3 changed files with 3 additions and 3 deletions

2
dist/swagger-ui.js vendored
View File

@@ -634,7 +634,7 @@ function program8(depth0,data) {
function program9(depth0,data) { function program9(depth0,data) {
var buffer = "", stack1; var buffer = "", stack1;
buffer += "\n <option value='"; buffer += "\n <option selected=\"\" value='";
if (stack1 = helpers.value) { stack1 = stack1.call(depth0, {hash:{},data:data}); } if (stack1 = helpers.value) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
else { stack1 = depth0.value; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } else { stack1 = depth0.value; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
buffer += escapeExpression(stack1) buffer += escapeExpression(stack1)

File diff suppressed because one or more lines are too long

View File

@@ -10,7 +10,7 @@
{{/if}} {{/if}}
{{#each allowableValues.descriptiveValues}} {{#each allowableValues.descriptiveValues}}
{{#if isDefault}} {{#if isDefault}}
<option value='{{value}}'>{{value}} (default)</option> <option selected="" value='{{value}}'>{{value}} (default)</option>
{{else}} {{else}}
<option value='{{value}}'>{{value}}</option> <option value='{{value}}'>{{value}}</option>
{{/if}} {{/if}}