Closed (fixed)
Project:
Theme developer
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
28 Dec 2010 at 06:47 UTC
Updated:
6 Jul 2020 at 15:02 UTC
Jump to comment: Most recent
Comments
Comment #1
adub commentedSimilar issues here. Using Chrome. Error message is:
Object function (j,s){return new b.fn.init(j,s)} has no method 'fieldValue'
Comment #2
ven7ura commentedI get the same message:
An error occurred while attempting to process /drupal/devel_themer/variables/141874d20a6c37362e/thmr_163: $.fieldValue is not a function.
I'm using wamp 2.1 on Windows 7
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Comment #3
dgastudio commentedsame here
Comment #4
yskel commentedSame here. Firebug reports an error in ajax.js, line 330:
$.fieldValue is not a functionComment #5
Csabbencs commentedSame here. Browser independent error.
Comment #6
krabbe commentedSame for me
Comment #7
elsonwu commentedI found it is a javascript's bug in drupal 7. before being fixed, My solution is follow:1.Just open drupal/path/to/drupal7/misc/ajax.jsabout line 330Doing follow this,var v = $(this.element).val();//var v = $.fieldValue(this.element);2.clean cache and refresh3.Theme developer will work now.It is just losting the jquery.form.js
open the devel_themer.module file and looking for devel_themer_init() function,
add this line
drupal_add_js($base_path . 'misc/jquery.form.js');before
drupal_add_js($base_path . 'misc/ajax.js');It will work now!
Comment #8
JeremyFrench commented@elsonwu thanks for the fix commited Here
Should be in the next nightly.
Comment #9
JeremyFrench commented@elsonwu thanks for the fix commited Here
Should be in the next nightly.
Comment #10
alexbern commentedThanks for that quick fix!
Comment #11
JonHendricks commentedWhen you fix this error? I can't make my essay papers
Comment #12
effulgentsia commented@JeremyFrench: sorry for accidentally adding an unnecessary jquery.form.js dependency to non-form AJAX. More info here: #995854-101: #ajax doesn't work at all if a file element (or enctype => "multipart/form-data") is included in the form. That comment also links to a critical core issue that should fix it, so hopefully, after 7.1 is released, you can remove the code that adds jquery.form.js.
Comment #15
avpaderno