Author:
touchstone
Version:
1.1
Released:
11 June 2012
Category:
Interface

Closed#2: javascript: Uncaught TypeError: Cannot call method 'replace' of undefined

Uncaught TypeError: Cannot call method 'replace' of undefined   jquery.js:100
t.querySelectorAll.k                                            jquery.js:100
o.k.selectors.preFilter.PSEUDO                                  jquery.js:89
k.filter                                                        jquery.js:83
b                                                               jquery.js:78
o.k.selectors.relative.                                         jquery.js:86
k                                                               jquery.js:81
t.querySelectorAll.k                                            jquery.js:101
c.fn.extend.find                                                jquery.js:104
(anonymous function)                             fieldsuppressor.publish.js:5
c.b.extend.ready                                                jquery.js:29
c.u                                                             jquery.js:37

this seems to happen when hiding one of nick dunn's magical order entry fields.

i was wrong, it's not order entry. there's a missing parentheses in your selector. it should be:

$('#contents').find('div.field:not(.field-publish_tabs)');

oops! Strange that Firefox console didn't pick this up when I tested last night...everything worked fine :s

Fixed now though, thanks!

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details