Skip to content

Commit

Permalink
Fix overview table not updating after namespace is approved
Browse files Browse the repository at this point in the history
  • Loading branch information
annda committed Sep 8, 2022
1 parent f17ca3d commit cebce1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion plugin.info.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
base publish
author Jarrod Lowe, Andreas Gohr, Dominik Eckelmann
email [email protected]
date 2022-01-16
date 2022-09-08
name Publish Plugin
desc Integrate a publishing process into DokuWiki
url http://www.dokuwiki.org/plugin:publish
13 changes: 6 additions & 7 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,15 @@ jQuery( document ).ready(function () {
},
function(data) {
$_this.parent().parent().siblings('tr.apr_table').each(function(index) {
var id = jQuery(this).find('a').first().text();
var pageNamespace = id.substr(0,id.lastIndexOf(':'));
if (pageNamespace === namespace) {
jQuery(this).hide('slow');
}
var id = jQuery(this).find('a').first().text();
var pageNamespace = id.substr(0,id.lastIndexOf(':'));
if (pageNamespace === namespace) {
jQuery(this).hide('slow');
}
);
});
$_this.parent().parent().hide('slow');
},
'json'
null
);
});
});

0 comments on commit cebce1b

Please sign in to comment.