--- outline_designer.module 2009-12-29 17:04:39.000000000 -0600 +++ outline_designer.module.new 2009-12-29 17:03:55.000000000 -0600 @@ -42,7 +42,7 @@ function outline_designer_init() { drupal_add_js(drupal_get_path('module', 'outline_designer') .'/jquery.contextmenu.js'); drupal_add_js(drupal_get_path('module', 'outline_designer') .'/scripts.js','footer'); //still a weird issue with clean URLS needing to be turned off just to be safe - variable_set('clean_url','0'); + //variable_set('clean_url','0'); //these are the misc javascript libraries that normally don't get included but we need to cause things ar einine drupal_add_js('misc/jquery.form.js'); drupal_add_js('misc/ahah.js'); @@ -71,7 +71,7 @@ function outline_designer_init() { //all paths passed to JS should have a trailing / by convention $js = 'var factor = 1; var DRUPAL_PATH = "'. base_path() .'"; - var AJAX_PATH = "'. base_path() .'?q=outline_designer/ajax/"; + var AJAX_PATH = "'. base_path() .'outline_designer/ajax/"; var OD_PATH = "'. base_path() . drupal_get_path('module', 'outline_designer') .'/"; var OD_TYPES = Array(); var active_nid = ""; @@ -119,7 +119,7 @@ function outline_designer_init() { drupal_add_css(drupal_get_path('module','outline_designer') .'/outline_designer.css'); $js = ' function od_add_book(){ - window.location="'. base_path() .'?q=node/add/'. variable_get('book_child_type','book') .'&edit[book][bid]=new"; + window.location="'. base_path() .'node/add/'. variable_get('book_child_type','book') .'&edit[book][bid]=new"; } $(document).ready(function(){$(".sticky-table").parent().prepend('."'".'
'."');});"; drupal_add_js($js,'inline');