Needs review
Project:
ajaxeditable
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2008 at 21:24 UTC
Updated:
6 Aug 2008 at 14:36 UTC
Jump to comment: Most recent file
Comments
Comment #1
Joshua Brunner commentedHi, the paths are hardcoded in the file: modules/ajaxeditable/ajaxeditable.js. you have to correct the paths on the following lines:
My version look like this:
17: $(this).load("/my-drupal-path/?q=ajaxeditable_html/"+$(this).attr("nid")+"/"+$(this).attr("field"),null,ajaxchanger);
32: url: "/my-drupal-path/?q=ajaxeditable_submit",
38: (this.element).load("/my-drupal-path/?q=ajaxeditable_html/"+$(this.element).attr("nid")+"/"+$(this.element).attr("field"),null,ajaxchanger);
Greetings Joshua
Comment #2
Joshua Brunner commentedHeere is a patch that solves the Problem. It create links like /path-to-my-drupal/?q=this_works_also_without_clean_urls
Changes:
Comment #3
doc2@drupalfr.org commentedComment #4
hanno commentedthis patch worked for me, but only when using extra ' in this line before and behind base_path():
drupal_add_js("var Drupal_ajaxeditable_base_path = '" . base_path() . "';", 'inline');
Comment #5
yngvewb commentedThis patch made ajaxeditable work (with the update from #4)! It works on FF 3 and Opera 9.5, but not in IE 7. Does it works for you in IE?