Jump to content

Recommended Posts

Posted

Hi.

When I try to rename uploaded images in image field I get js error in console.

Error: cannot call methods on sortable prior to initialization; attempted to call method 'disable'

I have opened an issue for it, but Ryan can't duplicate it, so it's still not closed. 

https://github.com/processwire/processwire-issues/issues/290

28727610-2c2a8738-73ce-11e7-9212-314a2cc

It would be great if somebody from the community can confirm it.

Posted

I tried, but couldn't reproduce the problem on my end using Google Chrome.  You might want to specify in the issue what web browser you are using?  I'm using the latest PW 3.0.72.

You might also try with a reduced test case without multilingual, Google Maps, etc... to help narrow down your issue.

  • Like 2
Posted (edited)
29 minutes ago, gmclelland said:

I tried, but couldn't reproduce the problem on my end using Google Chrome.

Met too. Works on ProcessWire 3.0.62 as well.

Edited by szabesz
typo
Posted

@szabesz and @gmclelland

Thank you for tests. 

Of course, I have tried different versions of PW with and without multi language support in Opera, Chrome and IE

Currently, I was able to track it down to this:

1. Create image field.

2. Set default image grid mode to square grid images ( it set by default ) and create page with this template/field

3. When the page loads there no indication that some type of grid is selected. 

4. Try to rename image and you get this js error.

image_rename.thumb.gif.0b5589baaa482e138d48a9289731acbf.gif

Then if you choose any of image grid you will be able to rename the image.

Could you please check this behavior? 

 

 

  • Like 1
Posted

I followed your steps and could not reproduce the issue. It was not on a clean PW install but a site under development.

Posted

I'm not getting the error either.

Are you using LastPass? Try disabling all extensions, and maybe starting with a fresh installation. 

Posted

Sorry, I'm still not able to reproduce this error.  Like @abdus mentioned, try in a browser that doesn't have browser addons or extensions.  Try on another computer if the website is already public.  Try on a fresh PW install and see if it still does it.  Try editing the page with a different admin theme.  I'm using the default admin theme when I test.  Make sure your modules are up to date.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...