Permalink
Browse files

fixed javascript problem. closes #2

  • Loading branch information...
1 parent f0f9547 commit 3dc21cedd32eeaafcebf18f2dc1727112c08cda0 @splitbrain committed Aug 29, 2010
Showing with 4 additions and 2 deletions.
  1. +1 −1 plugin.info.txt
  2. +3 −1 script.js
View
@@ -1,7 +1,7 @@
base searchindex
author Andreas Gohr
email andi@splitbrain.org
-date 2010-08-20
+date 2010-08-29
name Searchindex Manager
desc Allows to rebuild the fulltext search index
url http://www.dokuwiki.org/plugin:searchindex
View
@@ -19,10 +19,12 @@ var pl_si = {
* initialize everything
*/
init: function(){
+ pl_si.output = $('plugin__searchindex');
+ if(!pl_si.output) return;
+
pl_si.sack = new sack(DOKU_BASE + 'lib/plugins/searchindex/ajax.php');
pl_si.sack.AjaxFailedAlert = '';
pl_si.sack.encodeURIString = false;
- pl_si.output = $('plugin__searchindex');
pl_si.lang = LANG.plugins.searchindex;
// init interface

0 comments on commit 3dc21ce

Please sign in to comment.