Plugin Directory

one-year-ago

Opened 7 years ago

Closed 7 years ago

#2741 closed defect (invalid)

Many errors with split function in admin panel

Reported by: shmidtelson's profile shmidtelson's profile Shmidtelson Owned by: boja's profile boja's profile Boja
Priority: normal Severity: normal
Plugin: one-year-ago Keywords:
Cc:

Description

Errors by undefined answer.

if settings.data = undefined in console many errors

My fix
file templatic_category_icons.js 108 line

jq(document).ajaxComplete(function (event, xhr, settings) {
    if (settings.data === undefined) return; // 

    var queryStringArr = settings.data.split('&');

    if (jq.inArray('action=add-tag', queryStringArr) !== -1) {
        jq('#templ_icon_img').val(-1);
    }
});

Change History (2)

#1 @Shmidtelson
7 years ago

  • Component changed from not-listed to templatedia
  • Owner set to Viper007Bond

#2 @Shmidtelson
7 years ago

  • Component changed from templatedia to one-year-ago
  • Owner changed from Viper007Bond to Boja
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.