X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/74081c8b2e9a8588505c40257556e17274fc80de..d9bec7e66b9e33e3aca3cca1abd78e9151b5d03a:/redakcja/static/js/wiki/base.js?ds=inline diff --git a/redakcja/static/js/wiki/base.js b/redakcja/static/js/wiki/base.js index de1d8e5d..ad2ee3a9 100644 --- a/redakcja/static/js/wiki/base.js +++ b/redakcja/static/js/wiki/base.js @@ -10,7 +10,7 @@ "perspectives": { "ScanGalleryPerspective": { "show": true, - "page": 1 + "page": undefined }, "CodeMirrorPerspective": {} /* @@ -299,6 +299,7 @@ var global = $("*[data-ui-error-for='__all__']", this.$elem); var unassigned = []; + $("*[data-ui-error-for]", this.$elem).text(''); for (var field_name in errors) { var span = $("*[data-ui-error-for='"+field_name+"']", this.$elem);