Преглед на файлове

[1949]: rendering fails when supportedSubmitMethods does not contains post or put

bubble
Anna Bodnia преди 8 години
committed by bodnia
родител
ревизия
356e67ef85
променени са 2 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. +2
    -2
      dist/lang/fr.js
  2. +1
    -0
      src/main/javascript/view/ParameterView.js

+ 2
- 2
dist/lang/fr.js Целия файл

@@ -3,7 +3,7 @@
/* jshint quotmark: double */
window.SwaggerTranslator.learn({
"Warning: Deprecated":"Avertissement : Obsolète",
"Implementation Notes":"Notes d'implementation",
"Implementation Notes":"Notes d'implémentation",
"Response Class":"Classe de la réponse",
"Status":"Statut",
"Parameters":"Paramètres",
@@ -28,7 +28,7 @@ window.SwaggerTranslator.learn({
"Expand Operations":"Développer les opérations",
"Raw":"Brut",
"can't parse JSON. Raw result":"impossible de décoder le JSON. Résultat brut",
"Example Value":"Valeur exemple",
"Example Value":"Exemple la valeur",
"Model Schema":"Définition du modèle",
"Model":"Modèle",
"apply":"appliquer",


+ 1
- 0
src/main/javascript/view/ParameterView.js Целия файл

@@ -154,6 +154,7 @@ SwaggerUi.Views.ParameterView = Backbone.View.extend({
},

toggleSnippet: function (type) {
type = type || '';
if (type.indexOf('xml') > -1) {
this.$('.snippet_xml').show();
this.$('.snippet_json').hide();


Зареждане…
Отказ
Запис