fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update librarian
[redakcja.git]
/
redakcja
/
static
/
js
/
wiki
/
base.js
diff --git
a/redakcja/static/js/wiki/base.js
b/redakcja/static/js/wiki/base.js
index
61a3949
..
ad2ee3a
100644
(file)
--- a/
redakcja/static/js/wiki/base.js
+++ b/
redakcja/static/js/wiki/base.js
@@
-10,7
+10,7
@@
"perspectives": {
"ScanGalleryPerspective": {
"show": true,
"perspectives": {
"ScanGalleryPerspective": {
"show": true,
- "page":
1
+ "page":
undefined
},
"CodeMirrorPerspective": {}
/*
},
"CodeMirrorPerspective": {}
/*
@@
-111,7
+111,7
@@
if($tab.length != 1)
$tab = $(DEFAULT_PERSPECTIVE);
if($tab.length != 1)
$tab = $(DEFAULT_PERSPECTIVE);
- var $old = $
('#tabs li').filter
('.active');
+ var $old = $
tab.closest('.tabs').find
('.active');
$old.each(function(){
$(this).removeClass('active');
$old.each(function(){
$(this).removeClass('active');
@@
-299,6
+299,7
@@
var global = $("*[data-ui-error-for='__all__']", this.$elem);
var unassigned = [];
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);
for (var field_name in errors)
{
var span = $("*[data-ui-error-for='"+field_name+"']", this.$elem);