Plugin Directory

Changeset 707018


Ignore:
Timestamp:
05/02/2013 03:56:06 PM (13 years ago)
Author:
ti2m
Message:

dom alter asset path prefix fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • edge-suite/trunk/includes/edge-wordpress.js

    r683220 r707018  
    110110    // If the asset has one of the allowed file extensions, then add the project
    111111    // specific prefix path (taken from the custom Wordpress object in AdobeEdge).
    112     if (fillProp != null && fillProp.length > 1 && fillProp[1] != null && fillProp[1].match(/\.(js|png|jpg|svg|gif)$/)) {
     112    if (fillProp != null && fillProp.length > 1 && fillProp[1] != null && typeof fillProp[1] == 'string' && fillProp[1].match(/\.(js|png|jpg|svg|gif)$/)) {
    113113      fillProp[1] = AdobeEdge.pathPrefix.comps[compId] + '/' + fillProp[1];
    114114    }
Note: See TracChangeset for help on using the changeset viewer.