Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

jQuery("div.Attachments a.DeleteFile").popup is not a function

edited January 2012 in Questions
This discussion is related to the FileUpload addon.

I just recently installed this plugin and any time I load a page with the "attach file" link in there I get the following error in firebug:

jQuery("div.Attachments a.DeleteFile").popup is not a function

So of course nothing happens when you click the link to attach a file. What can I do to fix this?

Thanks, David

Best Answer

  • TimTim Lord of Servers vanilla
    Answer ✓

    Sounds like you don't have jquery.popup included. Have you messed with your theme and perhaps removed the {Foot} asset? Perhaps you're just missing the entire file, or have blocked it?

Answers

  • 422422 Developer MVP

    I think your gonna have to be more specific.

    Version of Vanilla etc Link to test.

    See it working on one of our themes.

    http://vanillaskins.com/air-forum/discussion/3/image-uploads-test#Item_9

    422 Real Estate Australia , now open Check it out

  • edited January 2012

    Sorry for the delay in responding. I am running vanilla version 2.0.18.1. You can get to my forum by going to www.chaozrebellion.com/forum.

    Just sign up on there and I'll approve you. I am currently running a custom theme in there but it says it is loading the jquery.popup.js file in the head. I made sure to copy the default.master.php file into my custom theme and I left the code in tact for it. I just added some wrappers and css styling to it that way I could style it easier.

    I am not sure if something is wrong with the file or not. I will pop back over there and look to see if I am missing part of the file when I get a chance today.

  • Ok so I figure out the error...turns out it is bad to be doing major code changes in the middle of the night. The problem was that when I copied some of my javascript over, I was loading jquery at the bottom of the page after vanilla had already loaded it.

    So after removing that include at the bottom everything started working again. :|

  • paintballer82 said: ...turns out it is bad to be doing major code changes in the middle of the night.

    WORD :(

Sign In or Register to comment.