Hi all!
First at all, thanks for this awsome module. I've discovered few weeks before and I think it's a "must-to-install"...

I tried this module in my local machine and it works perfectly, but when I try to use it in the server, it doesn't work. I can't move any webform item. I can see the two little icons with options and click on them, even reset the position... but not move the item. I tried to import a webform from the local machine to the server and that works, but when I edit the webform, I can't still move the items.

Any suggestion??

Thanks in advance...

Comments

richardp’s picture

It sounds like either jquery_ui isn't installed correctly, or the CSS isn't being attached correct (which can happen in IE).

Does this happen in other browsers? And, please confirm you have downloaded the jquery_ui plugin as well as the module.

jcgarsan’s picture

Hi Richardp,
yes, I've installed the jQuery_update module (it's a Drupal7). When I edit this module configuration, I've these settings:
- jQuery 1.8.2 and jQuery UI 1.8.11
- jQuery and jQuery UI CDN: Google

richardp’s picture

Hrm-- it could be that the jQuery update module (and the update) breaks the code. I will have to experiment and try to find out. I didn't think it did, though.

Can you confirm that it doesn't work in Firefox, Chrome, and IE?

jcgarsan’s picture

Hi!
Yes, it doesn't work neither Chrome or Firefox. I can't test it IE...

richardp’s picture

Okay, in FF or Chrome, can you look at the error console, and see if any javascript errors are being generated when the page loads?

Also, try temporarily disabling the jQuery Update module, and see if that fixes it. If it does, it at least gives me a clue that it has something to do with the update.

Richard

jcgarsan’s picture

Hi!
Yes, it seems to be an error:
Uncaught TypeError: Object function (a,b){return new p.fn.init(a,b,c)} has no method 'curCSS' -> jquery-ui.min.js:11

richardp’s picture

Okay, it sounds like to me that the jQuery UI plugin is expecting a function to exist in jQuery, that isn't there.

It sounds like you have a version mismatch somewhere.

Have you tried disabling jQuery update, and confirming that AF works w/o the jQuery Update module in place? It is possible this is an issue for the jQuery Update module. As I understand it, the module has multiple versions of jQuery, but only 1 version of jQuery UI. This could be the issue? Just guessing though.

Also, you might try switching jQuery versions in that module, to see if any of them work for you.

jcgarsan’s picture

Hi richardp!
I would like to thank you for your help. You are right: the problem is the jQuery version and the jQuery Update module. I found some open issues in the jQuery Update module, containing the same error that mine. There was a patch, but some of them tried to use the previous version (1.7) and others force to use the next one (1.10).

Finally, I tried to modify the jQuery version, from 1.8 to 1.7, and now it works perfectly. I've some slideshow that needs jQuery, so I need to make some tests and backups before I change this parameter.

Once again, thank you very much for your help!!!!

Best regards,

jcgarsan

richardp’s picture

Status: Active » Closed (works as designed)

Glad to hear it.

Richard