Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bugfix: incorrectly returning true when page name was missing

  • Loading branch information...
commit 4e7bb631165dfdaabaed76d2c72f4c86639a0afd 1 parent ce225b9
@MrBertie authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  ajax.php
  2. +1 −1  script.js
View
2  ajax.php
@@ -104,7 +104,7 @@ function ajax_indexpage() {
$force = false;
if (!$_POST['page']) {
- print 'true';
+ print 0;
exit;
}
if (isset($_POST['force'])) {
View
2  script.js
@@ -124,7 +124,7 @@ var plugin_searchindex = (function() {
if (rebuild === true) {
clear();
} else {
- force = 'f';
+ force = '';
// just start indexing immediately
window.setTimeout(index,1000);
}
Please sign in to comment.
Something went wrong with that request. Please try again.