fix jsoneditor render when nested object type is not defined

This commit is contained in:
Laurent Lepinay
2015-09-21 15:11:50 +02:00
parent 1367e8f6fa
commit f08e9df8da
4 changed files with 20 additions and 19 deletions

File diff suppressed because one or more lines are too long

3
dist/swagger-ui.js vendored
View File

@@ -1,6 +1,6 @@
/** /**
* swagger-ui - Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API * swagger-ui - Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API
* @version v2.1.2 * @version v2.1.3
* @link http://swagger.io * @link http://swagger.io
* @license Apache-2.0 * @license Apache-2.0
*/ */
@@ -31907,6 +31907,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
$.bbq.pushState('#/', 2); $.bbq.pushState('#/', 2);
Docs.collapseOperation(elem); Docs.collapseOperation(elem);
} else { } else {
event.preventDefault();
Docs.expandOperation(elem); Docs.expandOperation(elem);
} }
}, },

File diff suppressed because one or more lines are too long

14
lib/jsoneditor.min.js vendored

File diff suppressed because one or more lines are too long