Attachmentable Plugin
  1. Attachmentable Plugin
  2. GPATTACHMENTABLE-2

Javascript error - JQuery is undefined : Javascript / CSS pulled from wrong directory

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Windows 2008 / IE 8
    • Patch Submitted:
      Yes

      Description

      After installing the attachmentable plugin and using the provided tags to generate the form

      <attachments:style />
      <attachments:uploadForm bean="$

      {topicInstance}

      " />
      <attachments:script updateInterval="100"/>

      I get the following error:

      JQuery is 'undefined'

      The problem occurs because the resources for the stylesheet / javascript is pulled from the application web-app directory (and not the plugin). Attached is a patch which fixes the issue and allows the user to specify in the style and script where they want to pull the files from (to preserve the existing functionality). The exception is that the default behavior is to use the plugin resources since that will probably be the default for most people.

        Activity

        Hide
        Mat Cauthon added a comment -

        This major issue is known for more than a year and still not fixed in a release. Is this plugin still maintained?

        Show
        Mat Cauthon added a comment - This major issue is known for more than a year and still not fixed in a release. Is this plugin still maintained?

          People

          • Assignee:
            Unassigned
            Reporter:
            Amith Varghese
          • Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: