fix prawdafalsz - thanks a lot jquery
[redakcja.git] / redakcja / static / js / wiki / base.js
index de1d8e5..ad2ee3a 100644 (file)
@@ -10,7 +10,7 @@
                        "perspectives": {
                                "ScanGalleryPerspective": {
                                        "show": true,
-                                       "page": 1
+                                       "page": undefined
                                },
                                "CodeMirrorPerspective": {}
                                /*
                        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);