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: |
|
Owned by: |
|
|---|---|---|---|
| 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)
Note: See
TracTickets for help on using
tickets.
https://plugins.trac.wordpress.org/browser/templatic-categoryicons?rev=1428800&order=name